Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python loop through dictionary

dictionary = {52:"E",126:"A",134:"B",188:"C",189:"D"}
for key, value in dictionary.items():
	print(key)
	print(value)
 
PREVIOUS NEXT
Tagged: #python #loop #dictionary
ADD COMMENT
Topic
Name
1+5 =