Files
pplus-library/mojo/corpus/quest/starters/MQ_326.mojo
T
2026-10-06 09:57:04 -04:00

11 lines
228 B
Mojo
Generated

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))