Swift dla indeksu pętli
for (index, object) in list.enumerated() {
print("Item at \(index): \(object)")
}
Depressed Donkey
for (index, object) in list.enumerated() {
print("Item at \(index): \(object)")
}