Challenge: Mastering Dictionary Unpacking in Python
Opgave
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
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 4
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
Awesome!
Completion rate improved to 3.7
Challenge: Mastering Dictionary Unpacking in Python
Stryg for at vise menuen
Opgave
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
Var alt klart?
Tak for dine kommentarer!
Awesome!
Completion rate improved to 3.7Sektion 1. Kapitel 4
single