How to convert a string to title case in Python

1 Answer

0 votes
s = "python programming examples"

s = s.title()

print(s)


'''
run:

Python Programming Examples

'''

 



answered Nov 9, 2018 by avibootz
...