input: Write a function to print the first 10 cubes of natural numbers.
  assert first_10_cubes()==None
  for i in range(1, 11):
      assert i**3 in captured_output
output: def first_10_cubes():
      for i in range(1, 11):
          print(i**3)