How to make a string uppercase in Python

Changing a string to uppercase capitalizes all of its characters, for instance “abc” to “ABC”.

Solution for How to make a string uppercase in Python : You can use str.upper() to make a string uppercase Call str.upper() with str as a string to convert str to uppercase.


how-to-make-a-string-uppercase-in-python