while
Loopswhile
LoopsState the syntax for while
loops in Python.
Explain and identify the structure of a while loop in the flowchart representation of an algorithm.
Relate the concept of mise en place from cooking to loops.
Define accumulator variable.
Identify the two main tasks that must be performed before entering a while
loop.
Identify and use (where appropriate) augmented assignment operators.
Use while
loops to perform iterative calculations.
Explain what Dr. Darmon means by “being the computer.”
Identify the steps involved in “being the computer.”
Use the “being the computer” process while reading and writing code.
print()
statements with formatted strings to track the progress of a program inside of a loop.Define prime and composite integers.
State a simple primality test for integers.
break
statement to break out of a loop.