Year 11Computing

Records and dictionaries

Lesson outcome

In this lesson, we will be introduced to two new data structures: a record and a dictionary. The focus of this lesson is on records and how these can be created and used in Python to form a database. We will be shown how to use a dictionary as a record before creating a 'database' using dictionaries within a list.