Question: Complete the following code to iterate through the keys and values of the fantastic beasts hash 1 fantastic_beasts octopuses> tentacles, 3 dolphins Fins, rhinoshorns 7
Complete the following code to iterate through the keys and values of the fantastic beasts hash 1 fantastic_beasts "octopuses"> "tentacles", 3 "dolphins "Fins", "rhinos""horns" 7 # Replace ??? below wit h appropriat e values Ruri 9 fantastic_beasts. ?? do ???, ??? 10 puts "#{dolphins} have #{fins}" 11 end 12 Reset
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
