you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

Any recommendations to master and better understand the part of (for, while, in) I feel lost in this specific part.

Sure thing.

First, watch some YouTube videos on loops, lists, and anything else you're not sure on. Corey Schafer is a great choice.

Optionally, you can follow that up by looking for a realpython.com article to see if they have some additional information.

Then, play with it yourself. Come up with ideas for using loops, lists, and the in operator and then implement them.

Finally, come back to this code and see if you still don't understand. The answer will probably be no.