95.8k views
5 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 Xibinke
by
3.3k points

2 Answers

6 votes

Answer: letter.isupper()

Explanation:

User Casademora
by
3.6k points
5 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 Antoine Subit
by
3.2k points