Records+(Dictionaries)

A record is a basic data structure. A record is a collection of fields, possibly of different data types.
 * What is a record?**

Most modern computer languages allow the programmer to define new record types. In Python a record is known as a dictionary
 * Records in Python**

Records consist of key-value pairs customer_1 = {'id': '0001', 'forename': 'James', 'surname': 'Smith'} customer_2 = {'id': '0002', 'forename': 'Annie', 'surname': 'Jones'}
 * Key-value pairs**

In this example: id, forename and surname are the keys

and

0001, James, Smith 0002, Annie, Jones are the values

It is common to store multiple records in an array This is known as an array of records
 * Array of Records**

Records Programming Task 1

Records Programming Task 2