input: 
  def sumOfRanges(start, end):
      sum = 0
      
      for i in range(start, end+1):
          sum += i*i
      
      return sum
  
  sumOfRanges(10,20) #673
  >>> sumOfRanges(10, 20)
  673
  
output:     for i in range(start, end+1):
          sum += i*i
      
      return sum