input: Write a function to print the multiplication table of a given number by iterating over numbers from 1 to 10 and printing each multiplication result using string formatting. The function should accept one parameter, which is the number for which the multiplication table is to be printed.
  
  def print_multiplication_table(num):
      for i in range(1, 11):
          print('{0} x {1} = {2}'.format(num, i, num*i))
  
  print_multiplication_table(5)
output: def print_multiplication_table(num):
      for i in range(1, 11):
          print('{0} x {1} = {2}'.format(num, i, num*i))