Write a program to print ascii code of a character


Topic: Write a program to print ascii code of a character

Solution

x = '5'
print(ord(x))



List all Python Programs