Quiz on Repetition with Loops
Test your knowledge of repetition with loops.
Technical Quiz
1.
What is the result when the following program is executed?
for a in [9,2,5]:
print(a, end=' ')
A.
It gives an error on line 1.
B.
9 2 5
C.
9 7 5
D.
2 5 9
1 / 7
...