how to make text uppercase in python 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: from uppercase to lowercase python
# By Alan W. Smith and Petar Ivanov
s = "Kilometer"
print(s.lower())