Python | for loop quiz | Question 9

Last Updated :
Discuss
Comments

How can you iterate over the keys and values of a dictionary using a for loop?

for key, value in dictionary.items():

for key in dictionary.keys():

for key in dictionary:

for value in dictionary.values():

Share your thoughts in the comments