PYTHON DICTIONARY BUILDER
CS3300 / CS6375
TASK Drag the blocks into the dictionary slots to build a valid student profile. Then click CHECK!
student = {
key
:
value
,
key
:
value
,
key
:
value
,
key
:
value
}
LIVE CODE
# drag blocks into the dictionary above... student = {}
TRY IT Type a key name and press RUN to look up its value
student[" "]
# Build your dictionary above, then type a key to look it up
FEEDBACK
Drag KEY blocks into orange slots and VALUE blocks into green slots to build your dictionary.
- / 4
SCORE
"gpa"
"name"
"age"
"major"
"Alice"
3.8
"Computer Science"
21
You Complete!
pixel pet