What is the syntax to capitalize the first word?

 <string name>.Capitalize()
#example
str = 'hello world'
print(str.capitalize())

#output
Hello world
Advertisements