home
Learn
screen_rotation
num = [100, 200, 600, 400] cities = ['Delhi','Patna','Buxar'] num.extend(cities) print(num)
Program Output
[100, 200, 600, 400, 'Delhi', 'Patna', 'Buxar']