Associative Arrays
Lesson 17Author : GOUP
Last Updated : September, 2020
Code
test_grades = {
"Andy" => "B+",
"Stanley" => "C",
"Ryan" => "A",
3 => 95.2
}
echo test_grades["Andy"]."<br>";
echo test_grades["Ryan"]."<br>";
echo test_grades[3]."<br>";