Changing exercise with enumerate() to a simpler example. #533
Conversation
Addresses issue #378: "02-loop example should not suggest naive evaluation of polynomials".
Thanks, Laura. I like your changes (with a minor note that I'm not sure about using Your exercise also highlights the importance of talking about lists first. There is a |
Thanks, yes, I think this would require that lists come before loops in the curriculum, should have caught that. FWIW, I totally support having lists before loops, because it makes it possible to have relevant and realistic exercises and challenges with loops. |
I've added |
Addresses issue #378: "02-loop example should not suggest naive evaluation of polynomials".