input: Write a python function to calculate the sum of numbers in a given range.
  assert sum_range(2, 5) == 14
  assert sum_range(1, 10) == 55
  assert sum_range(0, 0) == 0
output: def sum_range(start, end):
      return sum(range(start, end + 1))