✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Що виведе виклик функції
private val firstNames = setOf("Alex", "Mordoc", "Sophie", "Tariq")
private val lastNames = setOf("Ironfoot", "Fernsworth", "Baggins", "Downstrider")
fun visitTavern () {
var patrons: Set<String> = setOf()
repeat(10) {
patrons += "${firstNames.random()} ${lastNames.random()}"
}
println("There are several patrons in the tavern:")
println(patrons)
}