click below
click below
Normal Size Small Size show me how
CSP - Chapter 9
Term | Definition |
---|---|
Accumulator Pattern | a set of steps that processes a list of values |
Palindrome | has the same letters if you read it from left to right as it does if you read it from right to left |
String | a collection of letters, numbers, and other characters like spaces inside of a pair of single or double quotes |
def | 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 |
prints the value of the items passed to it | |
range | returns a list of consecutive values |
while | programming statement that tells the computer to repeat a statement or a set of statements when a logical expression is true |