You have already completed these exercises!
Do you want to take them again?
You completed the Python Loop Dictionaries Exercises from W3Schools.com
Share on:
What is a correct syntax for looping through the values of this dictionary:x = {'type' : 'fruit', 'name' : 'apple'}
x = {'type' : 'fruit', 'name' : 'apple'}
for y in x.values(): print(y)
for y in x: print(y)
for y in x: print(y.value())