Push Tracker
experiments-07-07-12-local-.../agentic_scratch/north-mini-code/t3_pipeline/sum.py

3 lines
105 B
Python
Raw Permalink Normal View History

G
2026-07-12 21:35:10 -04:00
with open('nums.txt') as f:
total = sum(int(line.strip()) for line in f if line.strip())
print(total)