Dictionaries

Dictionaries#

Learning objectives#

After working through this topic, you should be able to:

  • Assign flat and nested dictionaries in Python

  • Access elements in flat and nested dictionaries

  • Update or insert elements in dictionaries

  • Explain some benefits of labelled data structures

Materials#

Video with English subtitles:

Download the slides.

Video with German subtitles:

(turn subtitles on in the bottom right corner of the video)