"""author: @pythonpips"""

foo = [1, 2, 3]
bar = [4, 5, 6]
baz = [*foo, *bar]
print(baz)
# baz outputs [1, 2, 3, 4, 5, 6]
d10fdd02f6f3f02cb0288961cf3c8d069beec868
<mask token>

<mask token>
print(baz)

<mask token>
foo = [1, 2, 3]
bar = [4, 5, 6]
baz = [*foo, *bar]
print(baz)

"""author: @pythonpips"""

foo = [1, 2, 3]
bar = [4, 5, 6]
baz = [*foo, *bar]
print(baz)
# baz outputs [1, 2, 3, 4, 5, 6]