input: Write a function to print the multiplication table of a given number n from 1 to 10. The function should take an integer n as an input and print the multiplication results in the format "n * i = result" for each i from 1 to 10.
  def f(n):
      for i in range(1, 11):
          print("{} * {} = {}".format(n, i, n*i))
  
  assert f(5) prints "5 * 1 = 5\n5 * 2 = 10\n5 * 3 = 15\n5 * 4 = 20\n5 * 5 = 25\n5 * 6 = 30\n5 * 7 = 35\n5 * 8 = 40\n5 * 9 = 45\n5 * 10 = 50"
  assert f(3) prints "3 * 1 = 3\n3 * 2 = 6\n3 * 3 = 9\n3 * 4 = 12\n3 * 5 = 15\n3 * 6 = 18\n3 * 7 = 21\n3 * 8 = 24\n3 * 9 = 27\n3 * 10 = 30"
  assert f(10) prints "10 * 1 = 10\n10 * 2 = 20\n10 * 3 = 30\n10 * 4 = 40\n10 * 5 = 50\n10 * 6 = 60\n10 * 7 = 70\n10 * 8 = 80\n10 * 9 = 90\n10 * 10 = 100"
output: def f(n):
      for i in range(1, 11):
          print("{} * {} = {}".format(n, i, n*i))