ASCII value

    0

    0

    Mahendra Kumar

    beginnerstrings

    To calculate the ASCII value of a given character

    # take input
    ch = input("Enter any character: ")
    # printing ascii value of character
    print("The ASCII value of " + ch + " is:", ord(ch))
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.