Course Content
Intermediate Python Techniques
Intermediate Python Techniques
2. Arguments in Function
3. Function as an Argument
Challenge: Dictionary Unpacking
Task
Swipe to show code editor
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.
Solution
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 4
Challenge: Dictionary Unpacking
Task
Swipe to show code editor
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.
Solution
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 4
Switch to desktop for real-world practiceContinue from where you are using one of the options below