Flashcards for Python lesson 4: Loops that remember
Read the front, say the back to yourself, then open the card.
rng.integers(n)
A random whole number from 0 to n − 1.
while condition:
Repeats its block as long as the condition is True.
a[20:, 0]
Rows 20 to the end, column 0, of a 2-D array.
Contraction
A step that brings any two points closer together, like a jump halfway to a corner.
Attractor
The shape that repeated steps pull every point onto: here, the Sierpiński triangle.