Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to concatenate two lists in python?



How to concatenate two lists in python?..

Answer / Chandra Prakash

In Python, you can concatenate two lists using the + operator. For example: list1 = [1, 2, 3] and list2 = [4, 5, 6], their concatenation would be done as follows: concat_list = list1 + list2 resulting in concat_list = [1, 2, 3, 4, 5, 6].

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

Name the built-in types provided by python?

1 Answers  


Write a program to show the singleton pattern used in python.

1 Answers  


What is unboundlocalerror in python?

1 Answers  


How to clone or copy a list?

1 Answers  


How to remove values to a python array?

3 Answers  


Write a program to find out the name of an object in python.

1 Answers  


Guess the output?

1 Answers  


How many keywords are there in python? And why should we know them?

1 Answers  


How do you get all values from a python dictionary?

1 Answers  


Is python good for oop?

1 Answers  


What is %s %d in python?

1 Answers  


Is string empty python?

1 Answers  


Categories