Quick check · free · no sign-up

Python Developer: 5 questions to test yourself

Pick one answer for each question, then see your score and why each answer is right. It takes about two minutes.

Which of these Python types is mutable?
What does len({1, 2, 2, 3}) return?
Which keyword turns a function into a generator?
What does the is operator check?
What does [x * x for x in range(3)] produce?

Free · No sign-up · Nothing is saved · Updated 16 Nov 2026