Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 948 Bytes

dict.md

File metadata and controls

29 lines (24 loc) · 948 Bytes
title description
Python dict() built-in function - Python Cheatsheet
Create a new dictionary. The dict object is the dictionary class. See dict and Mapping Types — dict for documentation about this class.
Python dict() built-in function From the Python 3 documentation Create a new dictionary. The dict object is the dictionary class. See dict and Mapping Types — dict for documentation about this class.

Examples

>>> a = dict()
>>> type(a)
# <class 'dict'>