1# To capitalize the first letter in a word or each word in a sentence use .title()
2name = tejas naik
3print(name.title()) # output = Tejas Naik
4
1def decapitalize(str):
2 return str[:1].lower() + str[1:]
3
4print( decapitalize('Hello') ) # hello