Quiz on Repetition with Loops
Test your knowledge of repetition with loops.
We'll cover the following...
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
Question 1 of 70 attempted
Access this course and 1400+ top-rated courses and projects.