input: Write a function to print the multiplication table of a given number.
  def print_multiplication_table(num):
      for i in range(1, 11):
          print('{0} x {1} = {2}'.format(num, i, num*i))
  
  # Test cases
  print_multiplication_table(5)
  print_multiplication_table(7)
  print_multiplication_table(10)
  print_multiplication_table(2)
  print_multiplication_table(1)
output: def print_multiplication_table(num):
      for i in range(1, 11):
          print('{0} x {1} = {2}'.format(num, i, num*i))