Challenge: Updating Dictionary
Compito
Swipe to start coding
You have the dictionary people
, which holds data on individuals' names, ages, and heights using the format 'name': (age, height)
. Your tasks include:
- Adding the following details to the
people
dictionary:
Name | Age | Height |
---|---|---|
John | 41 | 185 |
Michelle | 35 | 165 |
- Displaying the updated dictionary.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 4. Capitolo 14