Looping over a dictionary


#1



https://www.codecademy.com/en/courses/python-beginner-en-cxMGf/2/1?curriculum_id=4f89dab3d788890003000096#

What is wrong with my code ? can someone please help


Replace this line with your code.


#2

if statement not needed here. You want to print out everything in the dictionary. Read the instructions and hint more carefully.


#3

isn't the entire line that he has if for not needed as well?


#4

cool thanks for the help removed the if statement :slight_smile:


#5

You're welcome. :slight_smile:


#6

In my code I just used a for loop and a print statement.


#7

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.