Accessing Hash Values question is bugged


#1



https://www.codecademy.com/courses/ruby-beginner-en-F3loB/1/4?curriculum_id=5059f8619189a5000201fbcb


Nothing is wrong, I tried printing the value many ways, even copy pasting the hint solution and it refuses to accept. Small bug that should be fixed.

Or I'm missing something painfully obvious

Cheers


pets = Hash.new
pets["ass"] = 5

pets.each{|x,y| puts y}


#2

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