Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python empty dictionary

# Initializes an empty dictionary:
mydict = dict()
# or
mydict ={}
# Empties a dicionary:
mydict.clear()
 
PREVIOUS NEXT
Tagged: #python #empty #dictionary
ADD COMMENT
Topic
Name
8+1 =