input: from typing import List
  
  
  def sum_squares(arr: List[int]) -> int:
      """ Calculate the sum of squares of all numbers in the given array.
      >>> sum_squares([2, 3, 4])
      29
      """
      total = 0
      for num in arr:
          total += num ** 2
      return total
output:     total = 0
      for num in arr:
          total += num ** 2
      return total