Я хочу напечатать имя в массиве мира, который принадлежит континенту: "европа"
struct countries{
let name: String
let continent: String
}
var world: [countries] = [
countries(name:"japan", continent: "asia"),
countries(name:"france", continent: "europe"),
countries(name:"italy", continent: "europe"),
countries(name:"egypt", continent: "africa")
]