$ ./guess_the_languageProgramming Languages
Programming Languages · easy · #620

Which programming language is this?

let scores = [88, 92, 75]
let best = scores.max() ?? 0
print("Best score: \(best)")

Answer: Swift

let constants, the ?? fallback and \(best) string interpolation inside print are Swift.
Play Programming Languages ▸