dabeaz-course/python-mastery

slide 2-44: squares() is not called

arturtamborski opened this issue · 2 comments

Thank you very very much for this material. It's amazing! I'm super grateful for it.

I think I spotted a small error in the code on slide 2-44:

-for n in squares:
+for n in squares([1, 2, 3, 4, 5]):

I think the squares should be called to be effective.

Thank you again for sharing your knowledge.

dabeaz commented

Good catch! I've corrected the source material. Will appear in the PDF the next time I update it.