How to capitalize a string in Python?
You can use string.upper() method in Python 3.4
For example
>>> x = 'abcdef'
>>> x.upper()
>>> 'ABCDEF'
Or if you only need the first letter to be capitalized, you can use string.capitalize() method like
>>> x = 'abcdef'
>>> x.capitalize()
>>> 'Abcdef'
Hope it helps.