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

bookChallenge: Mastering Dictionary Unpacking in Python

Task

Swipe to start coding

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.

Solution

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 4
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

close

Awesome!

Completion rate improved to 3.7

bookChallenge: 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.

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

Solution

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!

close

Awesome!

Completion rate improved to 3.7
SectionΒ 1. ChapterΒ 4
single

single

some-alt