character = input("Enter a character: ") ascii_value = ord(character) print(f"The ASCII value of {character} is {ascii_value}")
To embed this project on your website, copy the following code and paste it into your website's HTML: