Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Expand the Dictionary | Dictionary
Python Data Structures
course content

Course Content

Python Data Structures

Python Data Structures

1. List
2. Dictionary
3. Tuple
4. Set

bookChallenge: Expand the Dictionary

Task
test

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").

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 2. Chapter 5
toggle bottom row

bookChallenge: Expand the Dictionary

Task
test

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").

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 2. Chapter 5
toggle bottom row

bookChallenge: Expand the Dictionary

Task
test

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").

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Task
test

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").

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Section 2. Chapter 5
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt