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

What is meant by instantiating a class?

0 Answers  


What is the parameter passing mechanism in Python?

0 Answers  


What is numpy shape?

0 Answers  


How is python better than c?

0 Answers  


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

0 Answers  


When do you choose a list over a tuple?

0 Answers  


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

0 Answers  


Do you know what are the optional statements that can be used inside a <try-except> block in python?

0 Answers  


What is a pass in python?

1 Answers  


What is string slicing in python?

0 Answers  


Explain when is the python decorator used?

0 Answers  


What is the comment tag in Python ?

0 Answers   Microsoft,


Categories