Merge two lists in Python

In python extend function can be used to merge two lists.

Syntax
[list].extend([iteratable])


Example
cars = ["Mercedes Benz","Honda","Audi", "Volkswagen"]
modern_cars = ["Tesla", "Uber"]
cars.extend(modern_cars)
cars


Output
['Mercedes Benz', 'Honda', 'Audi', 'Volkswagen', 'Tesla', 'Uber']