
Code Walkthrough: Exercise 4.6
Code Walkthrough: Exercise 4.6
30 Sep 201610min

5.1 The Basics of Loops
We look at how we construct a loop so that it runs as long as we want it to run. We learn about iteration variables and exiting loops with the 'break' and 'continue' statements.
30 Sep 20169min

5.2 Definite Loops
We learn how to use the 'for' statement in Python to loop through a set of data.
30 Sep 20166min

5.3 Patterns for Making Loops
Loops have a beginning, middle, and end. We look ant how we construct a loop to look at a list of items one at a time so we can compute an overall maximum, minimum or average.
30 Sep 20168min

5.4 Loop Techniques
We continue to look at how to construct loops including how to do something special the first time through the loop. We introduce the idea of 'None' which is a way to indicate that a variable is curr...
30 Sep 201618min

Worked Exercise: Exercise 5.1
Worked Exercise: Exercise 5.1
30 Sep 20168min

6.1 Storing Text Data in Strings
We learn how to create string variables and extract portions of the data as well as write simple loops to read through the characters in a string.
30 Sep 201610min

6.2 String Operations
We learn how to extract substrings using slicing, and use the string library to perform common data extraction operations with strings.
30 Sep 201618min



















