Question: I've seen some elegant python snippets using list comprehension and map reduce. Can you share some of these code or a web site.

Thanks.

Answer: 
Python is not lisp. Please don't try to make it look that way. It only reduces one of python's biggest strengths, which is its readability and understandability later on.

If you like functional programming, learn [Haskell](http://haskell.org/), [ML](http://en.wikipedia.org/wiki/ML_%28programming_language%29), or [F#](http://msdn.microsoft.com/en-us/fsharp/default.aspx). You will be amazed at what those languages offer (pure functions to start with).
Here is quick sort:

```
def qsort (list):
    if (len(list) > 1):
        list = qsort(filter (lambda x: x <= list[0], list[1:])) + [list[0]] + qsort(filter (lambda x: x > list[0],  list[1:]))
    return list

```

This one is a solution to a programming puzzle of finding a missing number among the integers from 1 to 100:

```
from random import randint
nos = range(1,101)
to_remove = randint(1,100)
nos.remove(to_remove)
print "Removed %d from list" % to_remove

found = 5050 - reduce (lambda x,y: x+y, nos)
print "You removed %d " % found

```