click below
click below
Normal Size Small Size show me how
CSP - Chapter 7
| Term | Definition |
|---|---|
| Accumulator Pattern | set of steps that processes a list of values |
| Body of a Loop | statement or set of statements to be repeated in a loop |
| Indention | means that the text on the line has spaces at the beginning of the line so that the text doesn’t start right at the left boundary of the line |
| Iteration | ability to repeat a step or set of steps in a computer program; also called looping |
| List | holds a sequence of items in order |
| Loop | tells the computer to repeat a statement or set of statements |
| def | keyword is used to define a procedure or function in Python |
| for | programming statement that tells the computer to repeat a statement or a set of statements |
| will print the value of the items passed to it | |
| range | returns a list of consecutive values |