Python Practice Test

Python Python List Comprehensions and Generators

Free · Instant Results

What is the output of `[x**2 for x in range(4)]`?
▶ Start Practice Test