$ ./guess_the_languageProgramming Languages
Programming Languages · hard · #547

Which programming language is this?

val scores = mapOf("ana" to 90, "bo" to 72)
for ((name, score) in scores) {
    if (score in 80..100) println("$name passed")
}

Answer: Kotlin

Unlike Swift, it builds pairs with the to infix, uses a 80..100 range and $name string templates, which are Kotlin.
Play Programming Languages ▸