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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are python methods?

782


How are arguments passed by value or by reference?

808


Draw a comparison between the range and xrange in python?

785


What is __ main __ in python?

809


How python maintains conditional blocks?

875


What is a dictionary in python programming?

849


How to remove whitespaces from a string in python?

887


Is multithreading possible in python?

760


What is a super constructor?

892


Which module(s) of python can be used to measure the performance of your application code?

827


How can I evaluate an arbitrary python expression from c?

793


What is python method?

806


How can you organize your code to make it easier to change the base class?

862


How many hours does a python sleep?

818


Which module is used to control the gpio in python?

850