This site requires Javascript to run properly. Javascript is currently Disabled in your browser.

To learn how to enable Javascript, click here. Foundations in Python - Pilot/Loops and Control Statements

From The Shoulders of Giants
Jump to: navigation, search

Members Only This live-stream is archived and only available to members of our Discord community. Please log in or create an account for access to our full video archive.

Show Foundations
Series Foundations in Python - Pilot
Audience Copernicus
Episode 4
Hosted by Dr. Foland
Air Date June 13, 2019
Format Live Stream

Episode Description

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.