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

Contenuti del Corso

Intermediate Python Techniques

Intermediate Python Techniques

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

book
Challenge: Mastering Dictionary Unpacking in Python

Compito

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.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 4
toggle bottom row

book
Challenge: Mastering Dictionary Unpacking in Python

Compito

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.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 4
Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Siamo spiacenti che qualcosa sia andato storto. Cosa è successo?
some-alt