Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Dictionary Unpacking | Packing and Unpacking
Intermediate Python Techniques
course content

Course Content

Intermediate Python Techniques

Intermediate Python Techniques

1. Packing and Unpacking
2. Arguments in Function
3. Function as an Argument
4. Variable Scope
5. Decorators

bookChallenge: Dictionary Unpacking

Task
test

Swipe to show code editor

Simply unpack the dictionary with personal information and don't use loops for that.

  1. Use name, age, city variables to unpack the dictionary;
  2. Use values() dictionary method;
  3. Print all info.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 4
toggle bottom row

bookChallenge: Dictionary Unpacking

Task
test

Swipe to show code editor

Simply unpack the dictionary with personal information and don't use loops for that.

  1. Use name, age, city variables to unpack the dictionary;
  2. Use values() dictionary method;
  3. Print all info.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 4
toggle bottom row

bookChallenge: Dictionary Unpacking

Task
test

Swipe to show code editor

Simply unpack the dictionary with personal information and don't use loops for that.

  1. Use name, age, city variables to unpack the dictionary;
  2. Use values() dictionary method;
  3. Print all info.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Task
test

Swipe to show code editor

Simply unpack the dictionary with personal information and don't use loops for that.

  1. Use name, age, city variables to unpack the dictionary;
  2. Use values() dictionary method;
  3. Print all info.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Section 1. Chapter 4
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt