Ruby - Hashes
Which of the following is the correct syntax to set the value of key
:city to "Paris" in a Ruby hash named location?:city to "Paris" in a Ruby hash named location?location[:city] = "Paris" to set the value.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions