python convert upper case 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: how do you change a string to only uppercase in python
original = Hello, World!
#both of these work
upper = original.upper()
upper = upper(original)