Data Structures / Iterating over hashes


#1


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

Keeps saying oops. looks like you didn't print anything to the console.

secret_identities = {
"The Batman" => "Bruce Wayne",
"Superman" => "Clark Kent",
"Wonder Woman" => "Diana Prince",
"Freakazoid" => "Dexter Douglas",

}

secret_idenities.each do { |x, y,| puts "#{x}: #{y}" }



#2

@cloudninja70019,

Have a close look at

secret_idenities