File: fibonacci

package info (click to toggle)
sugar-pippy-activity 75-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 1,660 kB
  • sloc: python: 5,786; makefile: 16; sh: 6
file content (4 lines) | stat: -rw-r--r-- 70 bytes parent folder | download | duplicates (2)
1
2
3
4
a, b = 0, 1
while b < 1001:
    print(b, end=' ')
    a, b = b, a + b