[tryhelloworld]JadenCase문자열 만들기 by파이썬


[tryhelloworld]JadenCase문자열 만들기 by파이썬

문제Jaden_Case함수는 문자열 s을 매개변수로 입력받습니다.s에 모든 단어의 첫 알파벳이 대문자이고, 그 외의 알파벳은 소문자인 문자열을 리턴하도록 함수를 완성하세요예를들어 s가 "3people unFollowed me for the last week"라면 "3people Unfollowed Me For The Last Week"를 리턴하면 됩니다. 나의 풀이12345def Jaden_Case(s): return s.title() # 아래는 테스트로 출력해 보기 위한 코드입니다.print(Jaden_Case("3people unFollowed me for the last week"))cs 다른 사람의 풀이123456789def Jaden_Case(s): # 함수를 완성하세요 answer =[] fo..


원문링크 : [tryhelloworld]JadenCase문자열 만들기 by파이썬