check if all the characters of a string are capital code example
Example 1: python method to check for uppercase character
a="DEMO"
print(a.isupper())
Example 2: how to check if letter is uppercase python
how to check if letter is uppercase python