Write to_titlecase(s) that returns s with the first letter of each word capitalized and the rest lowercase. Words are separated by single spaces.
to_titlecase(s)
s