file.py
= 0
total = 0
count
with open("data.txt") as f:
for line in f:
= int(line)
number += number
total += 1
count
= total / count
mean
print("Sum of all", count, "values is:", total)
print("The mean is", mean)