Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

This lesson is for members only. Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set the default subtitles language in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please see our video player troubleshooting guide to resolve the issue.

Dictionary Unpacking


Sample Code (.zip)

4.7 KB


Course Slides (PDF)

89.1 KB

vedavyas on Dec. 26, 2019

This course helped me to understand the itertools and it how to use them. Last four sections helped me alot.

Liam Pulsifer RP Team on Dec. 26, 2019

Great to hear, @vedavyas! Please do let me know if you have any lingering questions.

Pakorn on Dec. 27, 2019

Great tutorial, Thanks

bmorton on Dec. 28, 2019

Very helpful, clearly explained the concepts and how to apply them. Do you have a recommendation on where to find practice problems for the concepts tackled in these courses?

muzixaba on Dec. 29, 2019

Fantastic tutorial. I learned a lot, especially on using itertools with dictionaries.

Liam Pulsifer RP Team on Dec. 29, 2019

@Pakorn glad you enjoyed it!

Liam Pulsifer RP Team on Dec. 29, 2019

@bmorton, thanks for your kind words. As to practice problems, I would say just looking around on Google for “Python dictionary practice problems” will lead you to some good results.

Liam Pulsifer RP Team on Dec. 29, 2019

@muzixaba good to hear!

sion on Dec. 29, 2019

Great presentation. Useful stuff that was new to me, also pointers to other areas to look into. I liked you delivering it ‘warts and all’. It is always helpful to see mistakes and their redemption. Many thanks.

stephenm on Dec. 30, 2019

Very clear presentation of dictionary features and techniques. Many thanks.

dthomas01 on Jan. 4, 2020

This was really impressive. Learned a lot! Good work, Liam!

sergiossc on Jan. 5, 2020

Great job, Liam! These tools are very useful. Thx! ;)

datateam on Jan. 13, 2020

I am a data engineer so work with dictionaries a fair bit. Although I was familiar with a lot of the concepts, I still picked up a number of new things, like ChainMap! And a brilliant use case for popitem! Loved the presenting skills and the material was very valuable. Will look to see if I can apply some of the learnings to my job and in fun challenges :) Great work Liam!

Mallesham Yamulla on Jan. 27, 2020

Thanks for creating this tutorial, and again learned new things on dictionaries such as chainmaps, itertools, etc.

tobenary on Feb. 29, 2020

Thanks for the help in this course. What I do like to see at the end, is a complex ( dict inside dict ) and the iteration that is needed to be done. ( with error free ) ANYHOW, I learned a lot.

fjavanderspek on April 19, 2020

Great course, thanks!

renatoamreis on May 3, 2020

Great course, thank you!!!

mikesult on May 6, 2020

Thanks Liam for a great tutorial on working with dictionaries. I learned a lot of new things especially using ChainMap, the itertools and dict unpacking.

Liam Pulsifer RP Team on May 6, 2020

Thank you all for your kind comments! So glad I could help you learn some new things about Python dictionaries. :)

gabrielmachac on July 30, 2020

great tutorial, thank you

Sammy-Boy on Sept. 3, 2020

Nice tutorial especially the chainMap and its applications . Thank you Liam!

Liam Pulsifer RP Team on Sept. 8, 2020

Glad you enjoyed the course @gabrielmachac and @Sammy-Boy! Best wishes as you continue on your Python-learning journey.

Become a Member to join the conversation.