Answers for "python add all values of another list"

1

python add all values of another list

a = [1, 2, 3]
b = [4, 5, 6]
a += b
# another way: a.extend(b)
Posted by: Guest on February-03-2020

Code answers related to "python add all values of another list"

Python Answers by Framework

Browse Popular Code Answers by Language