Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python dict print keys

print(dictionary.items()) #prints keys and values
print(dictionary.keys()) #prints keys
print(dictionary.values()) #prints values
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #dict #print #keys
ADD COMMENT
Topic
Name
9+8 =