Dayrvia
Py

Python · Dictionaries · Practice questions

Try 1 question on Python · Dictionaries, then read the explanations and review the related concepts.

Practice questions

Choose an answer and move to the next question. Grade the last one to see explanations and review links.

1 question
Q1 What are x and len(d) afterwards?
d = {"a": 2}
x = d.get("b", 0)
Original practice questions written for Dayrvia.