# Find ASCII Value of a Character char = input("Enter a character: ") ascii_value = ord(char) print("The ASCII value of", char, "is", ascii_value)
Output:
Enter a character: A
The ASCII value of A is 65
# Find ASCII Value of a Character char = input("Enter a character: ") ascii_value = ord(char) print("The ASCII value of", char, "is", ascii_value)
Output:
Enter a character: A
The ASCII value of A is 65
+91-8400061384
support@ithunt.org