input: Write a python function to print the multiplication table for a given number.
  assert print_multiplication_table(5) == "5 X 1 = 5\n5 X 2 = 10\n5 X 3 = 15\n5 X 4 = 20\n5 X 5 = 25\n5 X 6 = 30\n5 X 7 = 35\n5 X 8 = 40\n5 X 9 = 45\n5 X 10 = 50"
  assert print_multiplication_table(3) == "3 X 1 = 3\n3 X 2 = 6\n3 X 3 = 9\n3 X 4 = 12\n3 X 5 = 15\n3 X 6 = 18\n3 X 7 = 21\n3 X 8 = 24\n3 X 9 = 27\n3 X 10 = 30"
  assert print_multiplication_table(7) == "7 X 1 = 7\n7 X 2 = 14\n7 X 3 = 21\n7 X 4 = 28\n7 X 5 = 35\n7 X 6 = 42\n7 X 7 = 49\n7 X 8 = 56\n7 X 9 = 63\n7 X 10 = 70"
output: def print_multiplication_table(n):
      result = []
      for i in range(1, 11):
          result.append(f"{n} X {i} = {n * i}")
      return "\n".join(result)