For each of the following videos or reading:
Note: WHILE loops are traditionally introduced in the form:
while some-condition:
do-stuff
We will instead use the less common form:
while True:
do-stuff-here-if-you-want
if some-condition:
break
do-stuff-here-if-you-want
See the video for details.
To get you started, read this explanation of the basic idea of the format method.
Optional reading: From The Python 3 Tutorial, read ONLY the following sections of the chapter on Formatted Output:
Skip the section titled The Old Way or the non-existing printf and sprintf. Of course, you are welcome to read that section, but it shows an older way to format strings that is no longer recommended for Python.