Where is my mistake ? python


#1

`d = {'a': 'apple', 'b': 'berry', 'c': 'cherry'}

for key in d:
if d[key] == "berry":
print key, d[key]

`


#2

This is printing a tupple. I think it requires you to print them as strings.
so try print key + " " + d[key]