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. |
>>> a = dict()
>>> type(a)
# <class 'dict'>