Challenge: Updating Dictionary
Uppgift
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.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 4. Kapitel 14
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Awesome!
Completion rate improved to 1.64
Challenge: Updating Dictionary
Svep för att visa menyn
Uppgift
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.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Awesome!
Completion rate improved to 1.64Avsnitt 4. Kapitel 14
single