def solution(s): a = s.split(' ') answer = '' for i in a: answer += i.capitalize() + ' ' return answer[:-1]
문자열의 첫글자는 대문자, 나머지는 소문자로 바꿔주는 함수