def total_points(batch: List[Int]) -> Int: var total = 0 for count in batch: total = count return total def main(): var batch: List[Int] = [12, 8, 20, 5] print("total points:", total_points(batch))