## Introduction to Programming using Python 1st Edition

x = input("Enter a character: ") y = input("Enter a character: ") print(ord(y) - ord(x)) step 1: The above code is first input the value in x step 2: then input the value in y and step 3: then convert them into numeric values using the $ord$ function and then subtracting the numeric value. The answer will be 25.