Python - File Handling Fundamentals
What will this code print if 'numbers.txt' contains '1\n2\n3\n'?
with open('numbers.txt') as f:
total = 0
for line in f:
total += int(line)
print(total)