questions with complete solutions
already passed
name three kinds of sequences - correct answer ✔✔list
tuple
string
a _________________ loop is used to iterate through a sequence - correct answer ✔✔for
the ____________________ function is used to determine how many pairs in a dictionary or how many
elements in a sequence - correct answer ✔✔len()
an if statement is built by using if followed by a _________________, a __________________, and a
___________________ of one or more statements - correct answer ✔✔condition
colon
block
name the three things that must occur for a sentry variable to effectively control the while loop - correct
answer ✔✔initialize
check
change
assignment statements take what's on the ___________ and assign it to the variable on the
___________ - correct answer ✔✔right
left
to print quotes inside a string, use an ___________________ to make Python ignore them. They can also
be used to print tabs - correct answer ✔✔escape sequence