Challenge: Mastering Dictionary Unpacking in Python
Uppgift
Swipe to start coding
Simply unpack the dictionary with personal information and don't use loops for that.
- Use
name, age, cityvariables to unpack the dictionary; - Use
values()dictionary method; - Print all info.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 4
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
Suggested prompts:
Sammanfatta detta kapitel
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 3.7
Challenge: Mastering Dictionary Unpacking in Python
Svep för att visa menyn
Uppgift
Swipe to start coding
Simply unpack the dictionary with personal information and don't use loops for that.
- Use
name, age, cityvariables to unpack the dictionary; - Use
values()dictionary method; - Print all info.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 4
single