You answeredJUST NOW
Python
STDIN
{"a": 1, "b": 2, "c": 3}
a b c d e
a b c d e
Expected STDOUT
1
2
3
['d', 'e']
2
3
['d', 'e']
Your STDOUT
1
2
3
['d', 'e']
2
3
['d', 'e']
STDIN
{"a": 2}
a b c
a b c
Expected STDOUT
2
['b', 'c']
['b', 'c']
Your STDOUT
2
['b', 'c']
['b', 'c']
STDIN
{"a": 1, "b": 2, "c": 3}
a b c
a b c
Expected STDOUT
1
2
3
[]
2
3
[]
Your STDOUT
1
2
3
[]
2
3
[]
Instructor solution
Collections in Python Presentation (pages 6-8)
By Alec Kretch (Aug 6, 2023)
You may exit out of this review and return later without penalty.