input: from typing import List
  
  def calculate_sum(arr: List[int]) -> int:
      """Calculate the sum of all integers in the given list.
      >>> calculate_sum([1, 3, 5, 7])
      16
      >>> calculate_sum([0, -1, 1])
      0
      """
    
      sum = 0
    
      for i in arr:
          sum += i
    
      return sum
output:     sum = 0
    
      for i in arr:
          sum += i
    
      return sum