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

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

0 Answers  


What does float () do in python?

0 Answers  


What is loop and types?

0 Answers  


What is the difference between append() and extend() method in python?

0 Answers  


What is encapsulation in python?

0 Answers  


Why we are using a python dictionary?

0 Answers  


How do you use raw_input in python?

0 Answers  


Which python library is built on top of matplotlib and pandas to ease data plotting?

2 Answers  


What is decorators?

0 Answers  


Write a program to read and write the binary data using python?

1 Answers  


How to you make a python script executable on unix?

0 Answers  


Explain how to overload constructors (or methods) in Python.

1 Answers  


Categories