ch=input("enter any character:")
if(ch>='A'and ch<'Z'):
    ch=ch.lower()
    print("the entered character was in uppercase.in lowecase it is :"+ch)
    else:
        ch=ch.upper()
        print("the entered character was in lowercase.in uppercase it is :"+ch)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: