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 (start > end), return the error message "Invalid input: start must be less than or equal to end".
  def sumOfRanges(start, end):
      if start > end:
          return "Invalid input: start must be less than or equal to end"
      sum = 0
      for i in range(start, end+1):
          sum += i*i
      return sum
  
  assert sumOfRanges(10, 20) == 671
  assert sumOfRanges(20, 10) == "Invalid input: start must be less than or equal to end"
  assert sumOfRanges(5, 5) == 25
  assert sumOfRanges(0, 3) == 14
  assert sumOfRanges(-3, 3) == 28
output: def sumOfRanges(start, end):
      if start > end:
          return "Invalid input: start must be less than or equal to end"
      sum = 0
      for i in range(start, end+1):
          sum += i*i
      return sum