Commit 2802f0d3 authored by Stephen Pearce's avatar Stephen Pearce Committed by Maxim Belkin

06-func.md: Update loop variable names (#741)

parent 7ea97730
......@@ -202,10 +202,10 @@ We can reproduce the previous analysis with a much simpler `for` loop:
~~~
filenames = sorted(glob.glob('inflammation*.csv'))
for f in filenames[:3]:
print(f)
visualize(f)
detect_problems(f)
for filename in filenames[:3]:
print(filename)
visualize(filename)
detect_problems(filename)
~~~
{: .language-python}
......
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