Python Tutorials

Python Nested Dictionary: A How-To Guide

Comments (3)
  1. James says:

    You forgot to include the “.items():” in line 11 on the last example of iterating through a nested dictionary. Without this this there is a value error.

    1. James says:

      line 10*

    2. James Gallagher says:

      I have updated the example to include .items(). Thank you for your feedback!

Leave a Reply

Your email address will not be published. Required fields are marked *

Tell us about you and we will match you with top rated bootcamps with flexible payment options, income sharing (ISAs), or money-back guarantees.

Career Karma

Find the right bootcamp for you

By continuing you indicate that you have read and agree to
Career Karma Terms of Service and Privacy Policy

A person sitting on a dark green chair with a laptop on their knee