Back to quizzes
Loops Quiz
Java / Loops | Medium | 15 questions
Question 1 of 15
4 free questions left
What will the following code snippet print? 'for x in [1, 2, 3]: print(x * 2)'
A
2 4 6
B
1 2 3
C
1 4 9
D
1 2 3 4 5 6