determine gievn input upper or lower case in python

Solutions on MaxInterview for determine gievn input upper or lower case in python by the best coders in the world

showing results for - "determine gievn input upper or lower case in python"
Facundo
21 Oct 2019
1# Python Program to check character is Lowercase or Uppercase
2ch = input("Please Enter Your Own Character : ")
3
4if(ch.isupper()):
5    print("The Given Character ", ch, "is an Uppercase Alphabet")
6elif(ch.islower()):
7    print("The Given Character ", ch, "is a Lowercase Alphabet")
8else:
9    print("The Given Character ", ch, "is Not a Lower or Uppercase Alphabet")