Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get all keys and values from dictionary python

#python 3
for k,v in dict.items():
    print(k, v)
Source by xahlee.info #
 
PREVIOUS NEXT
Tagged: #keys #values #dictionary #python
ADD COMMENT
Topic
Name
1+8 =