摘要:
#Most of these code are picked from web, you can run them on python 2.4, enjoy it! # First N Fibonacci numbersprint map(lambda x,f=lambda x,f: int(x<=1) or (f(x-1,f)+f(x-2,f)): f(x,f),range(N))# Mandelbrot set(which can be either written in one line)print (lambda Ru,Ro,Iu,Io,IM,Sx,Sy:reduce(lambd 阅读全文