You are viewing a single comment's thread. Return to all comments →
s = s.split(' ') new_list = [] for i in s: if i[:1].isalpha() : j = i.title() new_list.append(j) else: new_list.append(i) return ' '.join(new_list)
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 →