by Frank Vernon | Feb 21, 2021 | Optionals, Xcode
// 2 ways to print the highest score… var studentsAndScores = [”Amy”: 88, “James”: 55, “Helen”: 99] func highestScore(scores: [String: Int]) { //OPTION 1 BELOW HERE! let a = studentsAndScores [”Amy”]!...
Recent Comments