Menu
×
×
Correct!
Exercise:In the loop, when the item value is "banana", jump directly to the next item.
fruits = ["apple",
"banana", "cherry"] for x in fruits: if x == "banana": @(8) print(x)
fruits = ["apple",
"banana", "cherry"] for x in fruits: if x == "banana": continue print(x) Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 95 exercises.
Are you sure you want to continue?