input: 
  def sum_squares(arr):
      total = 0
      for num in arr:
          total += num ** 2
      return total
  
  # Example usage:
  # >>> sum_squares([2, 3, 4])
  # 29
  
output:     total = 0
      for num in arr:
          total += num ** 2
      return total