def fibonacci(max): a, b = 0, 1 while a < max: yield a a, b = b, a+bfor n in fibonacci(1000): print n,
Name (required)
email (will not be published) (required)
Website