python convert to upper string code example
Example 1: python is uppercase
# checking for uppercase characters
string = 'GEEKSFORGEEKS'
print(string.isupper()) # True
string = 'GeeksforGeeks'
print(string.isupper()) # False
Example 2: python upper
>>> funny = 'haha'
>>> print(funny.upper())
HAHA