input: Write a function to print the multiplication table of a given number. The function should iterate over numbers from 1 to 10 and print the multiplication result for each number. If the given number is 5, the function should output the multiplication results from 1 to 10 for 5.
  def print_multiplication_table(num):
      for i in range(1, 11):
          print('{0} x {1} = {2}'.format(num, i, num*i))
  assert print_multiplication_table(5)==print('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')
output: def print_multiplication_table(num):
      for i in range(1, 11):
          print('{0} x {1} = {2}'.format(num, i, num*i))