Programs for practice
In the program below, we used the arithmetic addition operator (%) to find even or odd number.
Source Code: Program to find ASCII value of a character in Python
# This Program is to find ASCII value of a character ch = input("enter the character whose ASCII value is to be found")) print("ASCII value is",ord(ch)
OutputRun to see the OUTPUT