x = [1, 2] * 3 y = [0] * 10 p! x p! y
x # => [1, 2, 1, 2, 1, 2] y # => [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]