String Methods
title()
Return a copy with words changed to title case.
str.title()
Return a copy with words changed to title case.
Returns
A new string with the first cased character of each word uppercase and the rest lowercase.
Try it
Run it and change it
text = "hello world" print(text.title())