input: Write a function to generate the multiplication table of a given number `n` up to 10. The function should take `n` as an argument and print the multiplication table 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)
  assert f(7)
  assert f(0)
output: def f(n):
      for i in range(1, 11):
          print("{} * {} = {}".format(n, i, n*i))