You are viewing a single comment's thread. Return to all comments →
def solve(s): a = s.split(" ") b = '' for i in range(len(a)): if i==(len(a)-1): b+=a[i].capitalize() else: b+=a[i].capitalize()+" " return b
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 →