input: Write a function named `f` that takes an integer `n` as an argument and prints the multiplication table of `n` from 1 to 10. Ensure that the output format follows "n * i = result".
  assert f(5)==None # 通过输出判断
  assert f(3)==None # 通过输出判断
  assert f(0)==None # 通过输出判断
  assert f(7)==None # 通过输出判断
  assert f(1)==None # 通过输出判断
output: def f(n):
      for i in range(1, 11):
          print(f"{n} * {i} = {n * i}")