This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
What statement would loop over the sequence collection and assign the variable item?
collection
item
for each item in collection:
for item in collection:
for collection in item:
What is the correct statement to use to align variables named left and right from the list turns?
left
right
turns
for left, right in turns:
for left and right in turns:
for [left, right] in turns:
You must answer all questions before checking your work.
Continue
Was this page helpful?