Looping over a dictionary


#1



Replace this line with your code. 
d = {'a': 'apple', 'b': 'berry', 'c': 'cherry'}

for key in sorted(d):
    # Your code here!
    print key,d[key]

Continuing the discussion from 14. Looping Over a Dictionary:


#2

That topic you continue from is resolved. What is your question/point with this new topic? I only see code


#3

it's : for key in d ,, try it that way