Convert string to title case (first letter of each word capitalized). Example: 'hello world' => 'Hello World'
Implement this function:
def title_case(s: str) -> str:
Write the function only — the arguments are read for you and the return value is printed automatically.
Arguments arrive as one Python literal per line, in this order: s.
Input
'hello world'
Output
'Hello World'