1Non_living_things = ["cars","chair","wire extender "]
2Non_living_things.extend(["Paper","Computer","Motherboard "])
3print(Non_living_things)
1fruits = ['apple', 'banana', 'cherry']
2cars = ['Ford', 'BMW', 'Volvo']
3
4fruits.extend(cars)
5
6print(fruits)
7# ['apple', 'banana', 'cherry', 'Ford', 'BMW', 'Volvo']
1The extend() method adds the specified list elements (or any iterable) to the end of the current list.