Write a Python function that returns the ASCII value of the passed in character.


Topic: Write a Python function that returns the ASCII value of the passed in character.

Solution

def ascii_value_of_character(char):
    return ord(char)



List all Python Programs