Commit 7fe15ecd authored by Stephen Pearce's avatar Stephen Pearce Committed by Maxim Belkin

code/readings_03.py: Consistency with lesson text (#746)

parent 158177d4
......@@ -6,8 +6,8 @@ def main():
script = sys.argv[0]
for filename in sys.argv[1:]:
data = numpy.loadtxt(filename, delimiter=',')
for m in numpy.mean(data, axis=1):
print(m)
for row_mean in numpy.mean(data, axis=1):
print(row_mean)
if __name__ == '__main__':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment