Languages & Frameworks
Python
4 practice questions. Free questions open a full answer guide; the rest unlock with Pro.
- What is Python's Global Interpreter Lock, and how does it shape the way you parallelize work in Python?
- What's the difference between a list comprehension and a generator expression in Python, and when would you choose a generator?Go Pro
- What's the difference between a list and a tuple in Python, and when would you reach for one over the other?Go Pro
- In Python, what happens if you use a mutable object like a list as a default argument value, and how do you avoid the bug it causes?Go Pro
Want questions matched to your role? Paste a job title, job description, or CV for a personalized set, or go Pro to unlock the full bank.