12 lines
100 B
Swift
Raw Normal View History

import Swift
var s: [Int] = [1, 2, 3, 4]
func f() {
for i in 0..<4 {
print(s[i])
}
}
f()