You are viewing a single comment's thread. Return to all comments →
def solve(s):
return ' '.join(word.capitalize() for word in s.split(' '))
if name == 'main': fptr = open(os.environ['OUTPUT_PATH'], 'w')
s = input() result = solve(s) fptr.write(result + '\n') fptr.close()
Seems like cookies are disabled on this browser, please enable them to open this website
Capitalize!
You are viewing a single comment's thread. Return to all comments →
def solve(s):
if name == 'main': fptr = open(os.environ['OUTPUT_PATH'], 'w')