Write a Python program that takes two numbers and prints their multiplication table.
def multiplicationTable(a, b):
    for i in range(1, b+1):
        print("{} x {} = {}".format(a, i, a * i))


multiplicationTable(9, 10) #prints a multiplication table for 9 and 10