Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Infinite Fibonacci generator
#python 3.5.2 def fibo(): a = 1 b = 1 yield 1 yield 1 while True: b, a = b + a, b yield b n = 0 fib = fibo() while n < 30: print(next(fib)) n += 1
run
|
edit
|
history
|
help
0
List Comprehenson odd_numbers
Chim
Bmi calculator dictionary
List comprehension to search and add
List comprehension, join, split, zip
Lesson 3 HW-Final
E
L4-HW final
Lcm and hcf
Find numbers with given sum of digits