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

How does a function return values?

906


What is a static relationship?

925


What is python? What are the benefits of using python? What do you understand of pep 8?

957


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

888


What is json? How would convert json data into python data?

995


How do you check if a string contains a substring in python?

941


Why is the order in python dictionaries and sets arbitrary?

1091


Why python is referred as glue code?

998


Which database is best with python?

945


What does ord () do in python?

1021


Which is best python or r?

870


What is a dataframe in python?

1080


What command do we use to debug a python program?

968


What is dynamic typing in python?

965


How can you sort a list in reverse order in python?

1002