Capitalize word starts
Your task
Given a sentence s of lowercase words separated by single spaces, return the sentence with the first letter of each word capitalized and the rest left lowercase. There are no leading, trailing, or repeated spaces, and the string may be empty (return ''). Words contain only lowercase letters.
Examples
title_case(s: str) -> strExample 1
Input
title_case("hello world")Output
"Hello World"