Vous n'avez pas affiché une valeur contenue dans votre hash


here is a screen capture of my code. Someone could tell me wfat i've done wrong ? Thanks


Could you provide the link to the course-lesson.....


sorry Leonfard there it is


hope it will be helpfull


I would remove the code-line

animaux = Hash.new

and have you tried a refresh Browser

++++ reset of session *****************
As you are manipulating with objects
under certain circumstances you can shoot your Browser in an
inconsistent state.

Therefor it is of an advantage to know that you have 2 reset facilities:

One is the use of the F5-key which does a refresh Browser


Two, select&copy your code
Then use the Reset Code button of the course-window,
then paste your code back in.

General Notes:
Always refresh the browser after making corrections:
CTRL f5 ( if on Windows or Linux)
CMD r ( if on a MAC).
CTRL 0 to reset browser zoom


It seems they want you to use a so-called FOR-IN loop
with which iterate over a hash
and get access to 1 property at each iteration

for x,y in  animaux do
  puts animaux[x]


I've tried it but even i remove the animaux = Hash.new or i refresh my browser i've got the same result : please try again...


Hi you should have the code from the previous lesson then print the item you put in the previus lesson


that works now you were rigth thank you


thanks it works fine now leonhard was rigth