Run ❯
Get your
own Python
server
Result Size:
625 x 565
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
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]