capitalise each letter in python code example
Example 1: capitalize first letter of each word python
"hello world".title()
'Hello World'
>>> u"hello world".title()
u'Hello World'
Example 2: python capitalize the entire string
message="hi"
print(message)
print(message.upper())