Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Groups
Community ▾
A
A
What does print(sum({"x": 10, "y": 20}.values())) show? | StemPy Lab
Quizzes
/
What does print(sum({"x": 10, "y": 20}.values())) show?
Python Programming
Easy
High School (9–10)
High School (11–12)
Undergraduate
General
Python Essentials › Dictionaries
Created by
StemPy Lab
What does print(sum({"x": 10, "y": 20}.values())) show?
30
2
xy
10
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← d = {"a": 1}. After d["a"] = 5, what does print(d) show?
What does print(list({"x": 10, "y": 20}.keys())) 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 →