Challenge: Updating Dictionary
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 4. Kapittel 14
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Suggested prompts:
Oppsummer dette kapittelet
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 1.64
Challenge: Updating Dictionary
Sveip for å vise menyen
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 4. Kapittel 14
single