input: Write a function to print the multiplication table of a given number. If the given number is positive, it should print the table from 1 to 10. If the number is negative, it should raise an exception.
  def print_multiplication_table(num):
      if num < 0:
          raise ValueError("The number should be positive")
      for i in range(1, 11):
          print('{0} x {1} = {2}'.format(num, i, num*i))
  
  assert print_multiplication_table(5)
  assert print_multiplication_table(10)
  try:
      print_multiplication_table(-1)
  except ValueError:
      assert True
  else:
      assert False
output: def print_multiplication_table(num):
      if num < 0:
          raise ValueError("The number should be positive")
      for i in range(1, 11):
          print('{0} x {1} = {2}'.format(num, i, num*i))