Hashes
Lesson 14Author : 🦒
Last Updated : November, 2017
Code
test_grades = {
"Andy" => "B+",
:Stanley => "C",
"Ryan" => "A",
3 => 95.2
}
test_grades["Andy"] = "B-"
puts test_grades["Andy"]
puts test_grades[:Stanley]
puts test_grades[3]