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

Why lambda forms in python do not have statements?

923


What is the use of negative indices?

987


Which language should I learn first c or python?

960


What is encapsulation in python?

901


What are loops in python?

945


Difference between @staticmethod and @classmethod in python?

1009


Is python fully object oriented?

931


What are the basic datatypes in python?

1148


How do you monitor the code flow of a program in python?

1023


Which the command you use to exit help window in python?

965


What are the different types of operators in python?

875


What is string in python?

1014


Is r similar to python?

890


What is loop in python?

981


Can you hack with python?

928