Answers for "how to print each item from the dictionary within a loop in python"

24

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)
Posted by: Guest on July-02-2020

Code answers related to "how to print each item from the dictionary within a loop in python"

Python Answers by Framework

Browse Popular Code Answers by Language