input: Write a function to sum non-negative integers up to n.
  assert sum_non_negative_integers(5) == 10
  assert sum_non_negative_integers(10) == 45
  assert sum_non_negative_integers(0) == 0
output: def sum_non_negative_integers(n):
      return sum(i for i in range(n) if i >= 0)