Arrays and collections / Arrays

let value = 5
let count = 3
let array = [Int](repeating: value, count: count)
//array is [5, 5, 5]

print("array is \(array)")