(Recent Entries) (Archive) (Friends) (User Info) Navigate: (Previous Day | Next Day)
Niekojoties ar parseriem, uzskrēju virsū ģeneratoriem:
def fib(): a, b = 0, 1 while 1: yield b a, b = b, a+bsequence = fib()for element in range(10): print sequence.next()