Write the syntax of a dictionary.
Question :
Write the syntax of a dictionary.
A dictionary consists of one or more key:value pairs, separated by commas, and enclosed in a pair of curly braces. It can be empty also, i.e., having no items.
Write the syntax of a dictionary.
Write the syntax of a dictionary.
A dictionary consists of one or more key:value pairs, separated by commas, and enclosed in a pair of curly braces. It can be empty also, i.e., having no items.