Source Code:
(back to article)
my_list = [1, 2, 3, 4] another_list = [5, 6, 7] my_list.extend(another_list) print(my_list)
Result:
Report an issue