input: Write a function to compute the sum of square numbers in a given range, including the start and end numbers. If the range is invalid (e.g., start is greater than end), return 0. The function should take two parameters, start and end, and return the sum of squares within that range.
  assert sumOfRanges(10, 20)==671
  assert sumOfRanges(5, 15)==650
  assert sumOfRanges(20, 10)==0
  assert sumOfRanges(0, 0)==0
  assert sumOfRanges(-5, 5)==55
output: def sumOfRanges(start, end):
      if start > end:
          return 0
      return sum(i**2 for i in range(start, end + 1))