383,991 views
3 votes
3 votes
Which string method returns true if the character is a lowercase letter?

letter = input("Enter a letter: ")
Oletter.isLower()
O letter.islower()
O isLower(letter)
O islower(letter)

User Daniel Grezo
by
2.6k points

2 Answers

20 votes
20 votes

Answer:

C

Step-by-step explanation:

User Raz Mahato
by
3.3k points
14 votes
14 votes

Answer:

Option 2, letter.islower() is correct

Step-by-step explanation:

letter.islower() returns true when the string "letter" is lowercase.

User Jakub Kuszneruk
by
3.1k points