(Hackerrank) HackerRank Python Certification Practice Test

Hackerrank Comprehensions (List, Dict, Set, and Generator Expressions)

Free · Instant Results

What does the following list comprehension produce? python [x**2 for x in range(5) if x % 2 == 0]
▶ Start Practice Test