Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/data/math/fibonacci
blob: 660cbf071915edcfdaf1059ba03952d9e1451185 (plain)
1
2
3
4
5
a, b = 0, 1
while b < 1000:
     print b,
     a, b = b, a+b