Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Babbys first Python Fibonacci

Name: Anonymous 2011-11-28 7:40


from sys import argv
script, n = argv

f = lambda x: x and (x-1 and x-2 and f(x-1) + f(x-2) or 1)
print f(int(n))

Name: Anonymous 2011-11-28 20:38

>>9
Please leave the programming board.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List