Python String isupper() Method

Returns true if all characters in the string are uppercase. Symbols and numbers are ignored.

Syntax

Python
string.isupper()

Example

Python
print('ABC123, & DEF'.isupper())
print('Abc & Def'.isupper())

Output

True
False