fantastic_beasts = {
"octopuses" => "tentacles",
"dolphins" => "fins",
"rhinos" => "horns"
}
# Replace ??? below with appropriate values
fantastic_beasts.each do |animal, attribute|
puts "#{animal} have #{attribute}"
end
# fantastic_beasts.each is used for traverse each element in fantastic_beats.
# do |animal, attribute| is used for fetch each key and value of fantastic_beasts
012345 102345 Complete the following code to iterate through the keys and values of the fantastic...