You can use this assignment in your class!
Mastery Progress(100.0%)
i

Collections in Python Assignment

You answeredJUST NOW
Python
You passed all test cases!
STDIN
{"a": 1, "b": 2, "c": 3}
a b c d e
Expected STDOUT
1
2
3


['d', 'e']
Your STDOUT
1
2
3


['d', 'e']
STDIN
{"a": 2}
a b c
Expected STDOUT
2


['b', 'c']
Your STDOUT
2


['b', 'c']
STDIN
{"a": 1, "b": 2, "c": 3}
a b c
Expected STDOUT
1
2
3
[]
Your STDOUT
1
2
3
[]

Did you like this question?

(Voting helps us personalize your learning experience!)
imgInstructor solution
Instructor Alec KretchJAN. 19, 2021 AT 11:20 AMstarTop Answer
Python

Was this helpful?

(Voting helps us personalize your learning experience!)
imgCollections in Python Presentation (pages 6-8)

Was this helpful?

(Voting helps us personalize your learning experience!)
Think you've got it?
Select one of the following options:
  • A.
  • B.
  • C.
  • D.
  • E.
Submit answer

Was this helpful?

(Voting helps us personalize your learning experience!)

You may exit out of this review and return later without penalty.