About

One C programmer had said: Talk is cheap. Show me the code.

More about me (my Fiboancci number):

#!/usr/bin/env perl
print$}+=$.=$}-$.||1while.1
#!/usr/bin/env ruby
x=1;loop{p$.+=x=$.-x}
#!/usr/bin/env python
 
def fibonacci(limit=100):
    i = iter(range(limit))
    f = p = 0
    f, p = i.next() + i.next(), p + f
    while i.next():
        f, p = p, p + f
        print f,
 
try:
    fibonacci(10)
except StopIteration, e:
    print "exiting... "

Calendar

September 2010
M T W T F S S
« Aug    
 12345
6789101112
13141516171819
20212223242526
27282930  

Tags