Run
x = "HELLO WORLD" if x.isupper(): print('Given string is UPPER CASE.') else: print('Given string is NOT UPPER CASE.')
Output