252,385 views
4 votes
4 votes
Which string method returns true if the character is an uppercase letter?

letter =input("Enter a letter: ")
Oisupper(letter)
Oletter.isUpper()
Oletter.isupper()
OisUpper(letter)

User Elron
by
3.1k points

2 Answers

16 votes
16 votes

Answer: letter.isupper()

Explanation:

User Schooner
by
2.6k points
25 votes
25 votes

Answer:

Oletter.isupper()

Step-by-step explanation:

isupper is all lowercase and it is a method that belongs to a string, so it is letter.isupper()

User Rahil Ahmad
by
2.8k points