1 def sum_of_range( start, end ):
   2     sum = 0
   3     for i in range( start, end ):
   4         sum += i
   5     return( sum )