demo_ref_string_isupper2.py:
a = "Hello World!" b = "hello 123" c = "MY NAME IS PETER" print(a.isupper()) print(b.isupper()) print(c.isupper())
➜ begtut>python demo_string_isupper2.py
False
False
True