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...


What is LIST comprehensions features of Python used for?



What is LIST comprehensions features of Python used for?..

Answer / chaitanya

LIST comprehensions features were introduced in Python version 2.0, it creates a new list based on existing list.

It maps a list into another list by applying a function to each of the elements of the existing list.

List comprehensions creates lists without using map() , filter() or lambda form.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Python Interview Questions

Can you explain this why are we getting an error here?

0 Answers  


Is there an inherent do-while loop in Python?

2 Answers  


What is a counter in python?

0 Answers  


Difference between __str__ and __repr__?

0 Answers  


How to generate random numbers in python?

0 Answers  


How do I create a variable number of variables?

0 Answers  


Can you explain how python is interpreted.

0 Answers  


Is all the memory freed when python exits?

0 Answers  


Is string iterable python?

0 Answers  


How do you create a dictionary which can preserve the order of pairs?

0 Answers  


State and explain about strings?

0 Answers  


Mention what is flask-wtf and what are their features?

0 Answers  


Categories