input: Write a function to store and print the multiplication table of a given number. The function should take an integer as input and print the table from 1 to 10.
  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)  # This should print:
  # 5 x 1 = 5
  # 5 x 2 = 10
  # 5 x 3 = 15
  # 5 x 4 = 20
  # 5 x 5 = 25
  # 5 x 6 = 30
  # 5 x 7 = 35
  # 5 x 8 = 40
  # 5 x 9 = 45
  # 5 x 10 = 50
  assert print_multiplication_table(7)  # This should print:
  # 7 x 1 = 7
  # 7 x 2 = 14
  # 7 x 3 = 21
  # 7 x 4 = 28
  # 7 x 5 = 35
  # 7 x 6 = 42
  # 7 x 7 = 49
  # 7 x 8 = 56
  # 7 x 9 = 63
  # 7 x 10 = 70
  assert print_multiplication_table(2)  # This should print:
  # 2 x 1 = 2
  # 2 x 2 = 4
  # 2 x 3 = 6
  # 2 x 4 = 8
  # 2 x 5 = 10
  # 2 x 6 = 12
  # 2 x 7 = 14
  # 2 x 8 = 16
  # 2 x 9 = 18
  # 2 x 10 = 20
  assert print_multiplication_table(10)  # This should print:
  # 10 x 1 = 10
  # 10 x 2 = 20
  # 10 x 3 = 30
  # 10 x 4 = 40
  # 10 x 5 = 50
  # 10 x 6 = 60
  # 10 x 7 = 70
  # 10 x 8 = 80
  # 10 x 9 = 90
  # 10 x 10 = 100
  assert print_multiplication_table(12)  # This should print:
  # 12 x 1 = 12
  # 12 x 2 = 24
  # 12 x 3 = 36
  # 12 x 4 = 48
  # 12 x 5 = 60
  # 12 x 6 = 72
  # 12 x 7 = 84
  # 12 x 8 = 96
  # 12 x 9 = 108
  # 12 x 10 = 120
output: def print_multiplication_table(num):
      for i in range(1, 11):
          print('{0} x {1} = {2}'.format(num, i, num*i))