Python Compiler
x, y = 0, 1 limit = 100 print("Fibonacci series upto 100:") while x < limit: print(x, end=" ") x, y = y, x+y
OUTPUT
Fibonacci series upto 100: 0 1 1 2 3 5 8 13 21 34 55 89
×
Save as
Private
Tag
AJAX
Canvas
CSS
Google Charts
HTML
Javascript
jQuery
JSON
SASS
SVG
Description
Save