Challenge: Mastering Dictionary Unpacking in Python
Task
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.
Solution
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 4
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Suggested prompts:
Summarize this chapter
Explain the code in file
Explain why file doesn't solve the task
Awesome!
Completion rate improved to 3.7
Challenge: Mastering Dictionary Unpacking in Python
Swipe to show menu
Task
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.
Solution
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 4
single