{} (create)

Description

To create a dictionary of things, use {key: value, ... }. Put as many key: value pairs between the brackets and split them with commas.

All operators that work on dictionaries can then perform actions on the newly created dictionary.

Examples

{"Id": 7, "Color": "red"}

This creates a dictionary with two entries. One entry about Id has the value 7 and another entry about the Color has the value "red".

Last updated