Run ❯
Get your
own
website
Result Size:
625 x 565
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
list1 = ["a", "b" , "c"] list2 = [1, 2, 3] for x in list2: list1.append(x) print(list1)
x
list1
=
[
"a"
,
"b"
,
"c"
]
list2
=
[
1
,
2
,
3
]
for
x
in
list2
:
list1
.
append
(
x
)
print
(
list1
)
['a', 'b', 'c', 1, 2, 3]