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

Explain python’s pass by references vs pass by value. (Or) explain about python’s parameter passing mechanism?

0 Answers  


How we can send email from python?

0 Answers  


How do you append to a file?

0 Answers  


Why do we need the __init__() function in classes? What else helps?

0 Answers  


How is the Implementation of Pythons dictionaries done?

0 Answers  


How you can access sessions in flask?

0 Answers  


Tell me what is the command to debug a python program?

0 Answers  


How do you copy an object in python?

0 Answers  


What is slug in python?

0 Answers  


What is slice notation in python to access elements in an iterator?

0 Answers  


How can you declare multiple assignments in one statement?

0 Answers  


Differentiate between range and xrange.

3 Answers  


Categories