2nd_char_type_checker

 ch=input("Enter a character: ")

if ch>='a' and ch<='z':
    print("Given character is lowercase character")
elif ch>='A' and ch<='Z':
    print("Given character is uppercase character")
elif ch>='0' and ch<='9':
    print("Given character is digit")
else:
    print("Given character is special character")


Comments

Popular posts from this blog

JAVA Lab Programs

HANGMAN GAME

WD 22. StylingLinks&Buttons