Find ASCII Value of Character Python

PROGRAM TO FIND ASCII VALUE OF CHARACTER


c = 'p'
print("The ASCII value of '" + c + "' is", ord(c))

OUTPUT
The ASCII value of 'p' is 112




Comments

Popular posts from this blog

Solve the Sudoku Python

Solve the Sudoku Java

Find Duplicates Java