Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Object Detection
- SSD 리뷰
- 코딩테스트2단계
- Pytorch pruning
- 최솟값 만들기
- pytorch
- 프로그래머스
- ssd
- Paper list
- Pruning Tutorial
- 프로그래머스타겟넘버정답
- 프로그래머스네트워크
- 프로그래머스파이썬
- ECCV
- Single Shot MultiBox Detector
- 커피후기
- 다음큰숫자
- 프로그래머스타겟넘버파이썬
- 코딩테스트네트워크
- 프로그래머스너비우선탐색
- deep learning
- 프로그래머스타겟넘버
- 코딩테스트연습
- One stage detector
- 타겟넘버bfs
- 프로그래머스게임맵최단거리
- Two stage Detector
- Code Study
- 프로그래머스bfs
- Faster R-CNN
Archives
- Today
- Total
soyeonland
JadenCase 문자열 만들기 본문
string.upper()
string.lower()
"".join()
s = s.split(" ") vs s.split()
s.split() 은 연속된 공백문자를 하나로 처리.
def solution(s):
s = s.split(" ")
# print(s)
answer= []
# first_letter = ''
for word in s:
word2 = []
for i in range(len(word)):
if i==0:
word2.append(word[i].upper())
else:
word2.append(word[i].lower())
result = "".join(word2)
answer.append(result)
answer = " ".join(answer)
return answer