Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Groups
Community ▾
A
A
d = {"a": 1}. After d["a"] = 5, what does print(d) show? | StemPy Lab
Quizzes
/
d = {"a": 1}. After d["a"] = 5, what does print(d) show?
Python Programming
Easy
High School (9–10)
High School (11–12)
Undergraduate
General
Python Essentials › Dictionaries
Created by
StemPy Lab
d = {"a": 1}. After d["a"] = 5, what does print(d) show?
{'5': 'a'}
{'a': 5}
{'a': 1}
{'a': 1, 'a': 5}
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← d = {"a": 1, "b": 2}. After del d["a"], what does print(d) show?
What does print(sum({"x": 10, "y": 20}.values())) show? →
More on
Python Essentials › Dictionaries
Discussion (0)
Log in
to join the discussion.
Loading…
Problems on this topic
Group these words by their length, in a dictionary where the key is the length and the value is the…
Medium
For this dictionary, write the expression for each answer.
Medium
Write a program that counts how many times each letter appears in the word mississippi, and shows…
Easy
Say whether a list or a dictionary is the better choice for each, and why.
Easy
All problems on this topic →