(Hackerrank) HackerRank Python Certification Practice Test
✕
📝 Hackerrank Practice Tests
Algorithms
Built-in Functions and Lambdas
Career Benefits
Collections and Data Structures
Comprehensions (List, Dict, Set, and Generator Expressions)
Control Flow and Looping
Credential Overview
Decorators and Closures
Exam Structure and Content
File I/O and Exception Handling
Functions and Modularity
Object-Oriented Programming Basics
Scalar Types and Operators
Iterators and Generators
Preparation Tips
📖 Hackerrank Study Guides
Hackerrank Exam #1
🎥 Hackerrank Videos
👑 HackerRank Python Certification VIP Practice Exam
Flashcards
Hackerrank Flashcards
👑 Hackerrank VIP Flashcards
Study Guide
Hackerrank Study Guide
Cheat Sheet
Hackerrank Cheat Sheet
Articles
HackerRank Python Certification Guide 2026 — Prep & Tips
HackerRank Python Certification: Master Coding Skills
HackerRank Python Certification Practice Test PDF (Free Printable 2026)
Videos
HackerRank Practice Test
☰
(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]
A
[0, 4, 16]
B
[0, 1, 4, 9, 16]
C
[4, 16]
D
[0, 4, 8, 16]
▶ Start Practice Test