repeating array in swift code example Example: swift repeating array let numbers1 = [Int](repeating: 0, count: 100)