input: Write a python function to print squares of numbers from 1 to 10.
  assert print_squares() == "1 squared is 1\n2 squared is 4\n3 squared is 9\n4 squared is 16\n5 squared is 25\n6 squared is 36\n7 squared is 49\n8 squared is 64\n9 squared is 81\n10 squared is 100\n"
output: def print_squares():
      result = ""
      for i in range(1, 11):
          result += f"{i} squared is {i ** 2}\n"
      return result