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
fruits = ['apple', 'banana', 'cherry'] points = (1, 4, 5, 9) fruits.extend(points) print(fruits)
x
fruits
=
[
'apple'
,
'banana'
,
'cherry'
]
points
=
(
1
,
4
,
5
,
9
)
fruits
.
extend
(
points
)
print
(
fruits
)
['apple', 'banana', 'cherry', 1, 4, 5, 9]