Python String isupper() Method
Returns true if all characters in the string are uppercase. Symbols and numbers are ignored.
Syntax
Python
Copy Code
string.isupper()
Example
Python
Copy Code
print('ABC123, & DEF'.isupper()) print('Abc & Def'.isupper())
Output
True False