GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Programming  >  Python
Go To First  |  Previous Question  |  Next Question 
 Python  |  Question 19 of 23    Print  
What is List Comprehensions feature of Python used for?

  
Total Answers and Comments: 1 Last Update: October 20, 2007     Asked by: SachinDeo 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
October 19, 2007 19:06:20   #1  
Priya Patel        

RE: What is List Comprehensions feature of Python used...

List comprehensions help to create and manage lists in a simpler and
clearer way than using map() filter() and lambda. Each list comprehension
consists of an expression followed by a for clause then zero or more for or
if clauses.



 
Is this answer useful? Yes | No

 Related Questions

What is used to represent Strings in Python.Is double quotes used for String representation or single quotes used for String representation in Python?

Latest Answer : Python programming language was created by Guido van Rossum. ...
Read Answers (1) | Asked by : timmy

Latest Answer : A lambda statement is used to create new function objects and then return them at runtime thats why  lambda forms in Python didn't contain statement. ...
Read Answers (1) | Asked by : janelyn

Latest Answer : Memory is managed through private heaps. Private heap is managed by python memory manager. ...
Read Answers (1) | Asked by : sripri

Latest Answer : C++ is the appropriate language that Python resemble in its class syntax. ...
Read Answers (1) | Asked by : scott

Latest Answer : At the same time he began implementing Python, Guido van Rossum was also reading the published scripts from "Monty Python's Flying Circus" (a BBC comedy series from the seventies, in the unlikely case you didn't know). It occurred to ...

Does Python support strongly for regular expressions? What are the other languages that support strongly for regular expressions?
Read Answers (1) | Asked by : christia

Latest Answer : Objects referenced from the global namespaces of Python modules are not always deallocated when Python exits. This may happen if there are circular references. There are also certain bits of memory that are allocated by the C library that are impossible ...
Read Answers (1) | Asked by : Robert

Latest Answer : One of the disadvantage of the Python programming language is it is not suited for fast and memory intensive tasks. ...
Read Answers (1) | Asked by : Robert

Latest Answer : Most of the object oriented programming languages to name a few are C++, CLISP and Java is the language from which Python has got its features or derived its features. ...


 Sponsored Links

 
Related Articles

Concepts of Object-Oriented Programming

Object Oriented JavaScript In this chapter you ll learn about OOP Object Oriented Programming and how it relates to JavaScript As an ASP NET developer you probably have some experience working with objects and you may even be familiar with concepts such as inheritance However unless you re already a
 

Working with XML in Python

Working with XML in Python The Extensive Markup Language and Python are two very different platforms Python is a programming language and XML is a standards oriented language document Python is a full fledged programming language which has its roots deep in scripts and also has matured over a period
 

SQL Programming

SQL Programming Overview Anybody who has done something for a long time has probably wanted to change how things work at some point or another. A worker at a mill might have found a more efficient way of cutting logs, or a mathematics teacher might have had a hand in changing a school’s al
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

WinRunner Programming Concepts

If you want to create WinRunner scripts that are highly efficient, there are important programming concepts that you will want to become familiar with. Understanding these concepts will provide you with a large number of key benefits. In addition to understanding these concepts, you must also learn
 

Programming Languages Certification

IT Certification programs have several options that will offer you the best knowledge.  By learning everything that you need to know about information technology you will be able to open new doors to your career and personal business desires.  IT Certification offers several vari
 

Neuro-linguistic Programming Methods

Neuro linguistic Programming Methods There are several methods used for performing Neuro linguistic Programming on an individual for obtaining insights into the psyche of the person in order to correct to modify certain patterns of behavior These techniques are also used for Neuro linguistic trainin
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

The Difficult Past of Neuro-linguistic programming

The Difficult Past of Neuro linguistic programming Neuro linguistic programming has had a rocky past with a number of lawsuits rivalry unsystematic development and intermittent progress During the 1980s the two founders separated after the lawsuit filed by Bandler Bandler went on to file several law
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape