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, return 0.
  def sumOfRanges(start, end):
      if start > end:
          return 0
      sum = 0
      for i in range(start, end + 1):
          sum += i * i
      return sum
  assert sumOfRanges(10, 20) == 673
  assert sumOfRanges(2, 5) == 54
  assert sumOfRanges(5, 2) == 0
  assert sumOfRanges(-1, 1) == 2
  assert sumOfRanges(0, 0) == 0
output: def sumOfRanges(start, end):
      if start > end:
          return 0
      sum = 0
      for i in range(start, end + 1):
          sum += i * i
      return sum