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