Python Test 6

Loops (for, while)

Choose one option for each question. This test contains 20 questions with mostly code-based practice. The code questions use varied loop patterns, nested iteration, state changes, and slightly harder tracing tasks. When you click an answer, the correct answer and a short explanation will appear below that question.