In operator topic


Oups, merci de réessayer. Votre code n'affiche pas toutes les clés de mon_dict

hi thank you for your help , where is the mistake ?

Replace this line with your code. 


for x in mon_dict:
    print (x, mon_dict[x])


Hi @maximeparisestmagiqu,

Remove the parentheses from this ...

    print (x, mon_dict[x])

The problem is that since this is Python 2 rather than Python 3, the parentheses enclose the two output items into a tuple.


ok sorry thank you :smile: