Challenge: Mastering Dictionary Unpacking in Python
Oppgave
Swipe to start coding
Simply unpack the dictionary with personal information and don't use loops for that.
- Use
name, age, city
variables to unpack the dictionary; - Use
values()
dictionary method; - Print all info.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 4
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
Awesome!
Completion rate improved to 3.7
Challenge: Mastering Dictionary Unpacking in Python
Sveip for å vise menyen
Oppgave
Swipe to start coding
Simply unpack the dictionary with personal information and don't use loops for that.
- Use
name, age, city
variables to unpack the dictionary; - Use
values()
dictionary method; - Print all info.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Awesome!
Completion rate improved to 3.7Seksjon 1. Kapittel 4
single