input: Write a python function to sum numbers from 0 to 9 and print the sum 10 times.
  assert sum_and_print() == "45\n45\n45\n45\n45\n45\n45\n45\n45\n45\n"
output: def sum_and_print():
      total = sum(range(10))
      result = (f"{total}\n" * 10).strip()
      print(result)
      return result