Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python iter on a dic key value

for k, v in d.items():
    print(k, v)
# key1 1
# key2 2
# key3 3
Source by note.nkmk.me #
 
PREVIOUS NEXT
Tagged: #python #iter #dic #key
ADD COMMENT
Topic
Name
6+2 =