Back to quizzes

List & Dictionary Comprehensions Quiz

Python | Medium | 15 questions

Question 1 of 15

4 free questions left

What is the output of the following list comprehension: [x**2 for x in range(5)]?