# take input
      ch = input("Enter any character: ")
      # printing ascii value of character
      print("The ASCII value of " + ch + " is:", ord(ch))
      

      Python language logoASCII value

      beginner
      strings

      To calculate the ASCII value of a given character

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.