input: Write a python function to calculate the sum of all numbers up to a given number.
  assert sum_up_to_number(5) == 15
  assert sum_up_to_number(10) == 55
  assert sum_up_to_number(0) == 0
output: def sum_up_to_number(n):
      return sum(range(n + 1))