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 multiplication table from 1 to 10 for that number. If the input number is less than or equal to 0, the function should print "Invalid input".
  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(-1)
  assert print_multiplication_table(0)
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))