Help


#1

secret_identities = {
"The Batman" => "Bruce Wayne",
"Superman" => "Clark Kent",
"Wonder Woman" => "Diana Prince",
"Freakazoid" => "Dexter Douglas"
}
secret_identities.each do |name, movie|
puts "#{name}: #{movie} "

end

its giving me this
"It looks like you aren't printing each colon-separated key-value pair on its own line. Check the hint if you need help!"
but i am getting output


#2

#{movie} "

remove the space between } and "


#3

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