Capitalize a string

>>> b = "my name"
>>> b.capitalize()
'My name'
>>> b.title()
'My Name'

Leave a Comment