Quiz
Loops Quiz
What will the following code print?
1 2 3 4 5 6 7 8 9 10
1 2 4 5 7 8 10
3 6 9
None
What is the output of this code?
0 1 2
0 1 2 3 4
1 2 3
0 1 2 3
Which statement skips the current iteration in a loop?
break
continue
pass
exit
What does the 'pass' statement do in a loop?
Stops the loop
Skips to next iteration
Does nothing, acts as placeholder
Exits the program