Toggle navigation
Mr. Code's Wild Ride
Mr. Code's
Curriculum
Showcase
Challenges
Python
Games
Sign in
Exercise Set 17
light theme
dark theme
Exercise 1 of 9
Initialize an empty dictionary called students.
Your code
Submit
Exercise 2 of 9
Initialize an empty dictionary called word_counts.
Your code
Submit
Exercise 3 of 9
Initialize a dictionary called info with the key-value pairs ("name", "Jordan"), ("age", 16), and ("height", 54).
Your code
Submit
Exercise 4 of 9
Update a dictionary called info so that "name" now has a value of "Sam".
Your code
Submit
Exercise 5 of 9
Update a dictionary called info so that "age" now has a value of 23.
Your code
Submit
Exercise 6 of 9
Add the key "year" to a dictionary called info with the value 1998.
Your code
Submit
Exercise 7 of 9
Write a condition to check if a dictionary called info contains the key "year".
Your code
Submit
Exercise 8 of 9
Write a condition to check if a dictionary called info contains the key "location".
Your code
Submit
Exercise 9 of 9
Delete the key "age" from a dictionary called info.
Your code
Submit
Last section
Next section
×
Sign in
Username