how to check if uppercase in python code example
Example 1: python method to check for uppercase character
a="DEMO"
print(a.isupper())
Example 2: python how to detect if uppercase is used in input
isupper()
islower()
a="DEMO"
print(a.isupper())
isupper()
islower()