PCEP Functions, Tuples, Dictionaries and Exceptions • Set 5
PCEP Functions, Tuples, Dictionaries and Exceptions Practice Test 5 — 15 questions with explanations. Free, no signup.
What is the output of the following dictionary comprehension?
{x: x**2 for x in range(3)}Choose an answer to begin — your selection is scored in the full session.
15 questions · instant feedback and full explanations after every question.