Course Content
Python Data Structures
Python Data Structures
Challenge: Expand the Dictionary
Task
Swipe to show code editor
Expand the book dictionary by adding a new key named "genres"
. The value for this key should be a list of genres that describe the book (e.g., "Fiction", "Dystopian", "Political Fiction").
Solution
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 2. Chapter 5
Challenge: Expand the Dictionary
Task
Swipe to show code editor
Expand the book dictionary by adding a new key named "genres"
. The value for this key should be a list of genres that describe the book (e.g., "Fiction", "Dystopian", "Political Fiction").
Solution
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 2. Chapter 5
Switch to desktop for real-world practiceContinue from where you are using one of the options below