Python Practice Test
Python Python List Comprehensions and Generators
What is the output of `[x**2 for x in range(4)]`?
Select your answer
A
[0, 1, 4, 9]
B
[1, 4, 9, 16]
C
[0, 1, 2, 3]
D
[1, 2, 3, 4]
Hint