Skip to main content
JourneyUncommon
Toggle theme
Sign In
Sign Up
Toggle theme
Home
/
Practice
/
Swift
easy
Swift
nil coalescing
Single-choice MCQ
What does this code print?
let scores: [String: Int] = ["math": 90] print(scores["science"] ?? -1)