Challenge: Updating Dictionary
Opgave
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
peopledictionary:
| Name | Age | Height |
|---|---|---|
| John | 41 | 185 |
| Michelle | 35 | 165 |
- Displaying the updated dictionary.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 4. Kapitel 14
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Suggested prompts:
Opsummér dette kapitel
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 1.64
Challenge: Updating Dictionary
Stryg for at vise menuen
Opgave
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
peopledictionary:
| Name | Age | Height |
|---|---|---|
| John | 41 | 185 |
| Michelle | 35 | 165 |
- Displaying the updated dictionary.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 4. Kapitel 14
single