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