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