decompose
Break a big problem into smaller steps that are each easy to code.
algorithm
A clear, step-by-step set of instructions for solving a problem. (Named after al-Khwarizmi!)
for loop
Repeats code once for each value in a range or list: for n in range(1, 6): runs with n = 1, 2, 3, 4, 5.
while loop
Repeats code as long as a condition is True, and stops as soon as it is False.
range(a, b)
The whole numbers from a up to, but not including, b. range(1, 4) gives 1, 2, 3. range(3) gives 0, 1, 2.