Midterm 1 Flashcards
1
Q
executes the body for each value of a sequence, hash, terable
A
for loop
2
Q
returns its value one at a time
A
iterable
3
Q
jumps out of the current loop beyond the else
A
break
4
Q
jumps to top of the loop
A
continue
5
Q
does no operation
A
pass
6
Q
a sequence of arbitrary items
A
list
7
Q
an ordered set of items
A
sequence
8
Q
a value can not be changed in place
A
immutable
9
Q
build a list by running a for loop through a sequence
A
list comprehension
10
Q
a sequence of items that are immutable
A
tuple
11
Q
returned when nothing appears to be returned
A
None
12
Q
a mapping (key and value)
A
dictionary
13
Q
a value can be changed in place
A
mutable
14
Q
leads the computer through necessary steps as the program runs
A
interpreter
15
Q
integrated development environment
A
IDE