36. Python Program to read a character and find out whether it is Uppercase or Lowercase.
How does this program work?
- In this program you are going to learn about how to read a character in Python.
- And find out whether it is uppercase or lowercase letter.
Here is the code
ch = input("Please Enter Your Own Character : ")
if ch.isupper ( ):
print("The Given Character ", ch, "is an Uppercase Alphabet")
elif ch.islower () :
print("The Given Character ", ch, "is a Lowercase Alphabet")
else:
print("The Given Character ", ch, "is Not a Lower or Uppercase Alphabet")