Create a dictionary

A dictionary is a collection of key:value pairs. The key can be an integer or a string. The value can be an integer, string or a list. Using a list as the key is a good way to produce simple record structures.

Syntax

dictionary = {key:value[,key:value]*}

Example