var arr = [2, 3, 4, 5] func increment(by delta: Int, to array: [Int]) -> [Int] { var result: [Int] = [] for element in array { result.append(element + delta) } return result } increment(by: 2, to: arr)