Lowercase Check in Python

Level 122 keystrokes

This checks whether all the letters in the string are lowercase using the islower() method.

Python code

# islower() returns True if the string has at least one letter and all its letters are lowercase
# "abc" is all lowercase, so True is printed
1print("abc".islower())

Output

True
Practice typing this code

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

More Python examples at level 1

← Python typing practice