input: 
  def sum_sequence(sequence: List[int]) -> int:
      """
      Calculate the sum of a sequence of integers.
      >>> sum_sequence([1, 2, 3, 4, 5])
      15
      """
  
output:     total = 0
      for num in sequence:
          total += num
      return total