Answer to Question #289991 in Python for shivam

Question #289991

program to check wether character is uppercase or lowercase alphabet


1
Expert's answer
2022-01-23T15:17:23-0500
ch = input()
if ch.lower() == ch and ch.upper() != ch:
	print(f"lowercase")
elif ch.lower() != ch and ch.upper() == ch:
	print(f"uppercase")
else:
	print("other")

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS