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, city
variables 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