You are viewing a single comment's thread. Return to all comments →
Simplist solution
q = "" for i in range(0, len(s)): if i == 0: q += s[i].upper() elif s[i-1] == " ": q += s[i].upper() else: q += s[i] return q
Capitalize!
You are viewing a single comment's thread. Return to all comments →
Simplist solution