how to convert string to title case in python code example
Example: python title case
string = 'this will be title case'
print(string.title())
#output: 'This Will Be Title Case'
string = 'this will be title case'
print(string.title())
#output: 'This Will Be Title Case'