input: Write a function to print the multiplication table of a given number from 1 to 10. If the given number is negative or zero then print "Invalid input". If the given number is positive then print the multiplication table in the format "num x i = result".
  def print_multiplication_table(num):
      if num <= 0:
          print("Invalid input")
      else:
          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(0)=="Invalid input"
  assert print_multiplication_table(-3)=="Invalid input"
  assert print_multiplication_table(7)
output: def print_multiplication_table(num):
      if num <= 0:
          print("Invalid input")
      else:
          for i in range(1, 11):
              print('{0} x {1} = {2}'.format(num, i, num*i))