183k views
2 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 Seoul
by
4.2k points

2 Answers

6 votes

Answer:

C

Step-by-step explanation:

User Chzk
by
5.2k points
1 vote

Answer:

Option 2, letter.islower() is correct

Step-by-step explanation:

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

User Karimanasseri
by
4.3k points