how to check if a character is upper or lower python code example
Example 1: from uppercase to lowercase python
# By Alan W. Smith and Petar Ivanov
s = "Kilometer"
print(s.lower())
Example 2: python method to check for uppercase character
a="DEMO"
print(a.isupper())