In this class, Dr. Foland discusses while and for loops in Python, how to diagram a loop in a flowchart, and how and when to use them. He also discussed the control statements break and pass.

The stream ends with an example of writing a program to manipulate a shopping list. Dr. Foland had a slight issue removing empty keys from a dictionary in Python from inside a loop, but found a good workaround to the issue shortly after the stream. You can see his solution on GitHub.

Quote of the Episode:

“Some of the best programming is done on paper, really. Putting it into the computer is just a minor detail.”

– Max Kanat-Alexander

Leave a Comment