car=["audi","bmw","jaguar"]other_car=["maruti","tata"]car.extend(other_car)print(car)
Standard input is empty
['audi', 'bmw', 'jaguar', 'maruti', 'tata']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!