+ 1
How to concat lists in Python?
Help me
4 Réponses
+ 3
a=[2,4,5]
b=[5,6,7]
print(a+b)
0
I think the answer is `a + b` but I am not sure.
0
C
0
# You can use the extend method:
list0 = [1, 2, 3]
list1 = [4, 5, 6]
list0.extend(list1)
print(list0)
Help me