Uppercase Check in Python
Level 122 keystrokes
This checks whether all the letters in the string are uppercase using the isupper() method.
Python code
# isupper() returns True if the string has at least one letter and all its letters are uppercase# "ABC" is all uppercase, so True is printed1print("ABC".isupper())Output
True
Practice typing this code. Results are not recorded in the rankings.
Symbols in this code
The symbols you type in this Python code and how often they appear.
"× 2(× 2)× 2.× 1