You are viewing a single comment's thread. Return to all comments →
def solve(name: str) -> str: return " ".join( [word[0].upper() + word[1:] if word and word[0].isalpha() else word for word in name.split(' ')] )
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 →