Check whether a character is an alphabet or not

    0

    0

    CrypticSai-08

    n=input() 
    #ASCII value of the input 
    x=ord(n)
    if(65<=x<=90 or 97<=x<=122):
        print('yes' , n , 'is an Alphabet')
    else:
        print('No' , n , 'is not an Alphabet')
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.