You are viewing a single comment's thread. Return to all comments →
def solve(s): name = '' while len(s): position = re.search(r'\S+ *', s) word = position.group() word = word[0].upper() + word[1:] name = name + word s = s[len(position.group()): ] return name
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 →