Computer Science, asked by gatiyalap9608, 8 months ago

Write a program in python to print whether a given character is an uppercase or a lowercase or a digit or any other character

Answers

Answered by keyboardavro
8

Answer:

mrk me as brainliest plzzzz

# Take input from user

ch = input("Enter any character : ")[0]

# Check for uppercase, lowercase

if ch.isupper() :

   print("\n" + ch, "is UPPERCASE alphabet.")

elif ch.islower() :

   print("\n" + ch, "is LOWERCASE alphabet.")

else :

   print("\n" + ch, "is not an alphabet.")

Similar questions