Not agree with quiz answer

In the Quiz: Loops-for for one of the questions you have two options as possible right answers. I think that it must be only one correct answer because there is no print() function in the other one. The only print() function would be out of the for loop.

“We want to iterate over the values from 0 to 10, and print their values…”

Please attach the link to this quiz.

The link to the quiz:

Ok, so it is looking for two answers here, note that it is check boxes, not radio buttons.

The “correct” answers are the one you have, plus if num % 2 == 0: continue

However I kind of disagree with this as the continue has no effect here - the loop naturally continues without it.

I will ask the team to look at it.

1 Like