Last active
May 13, 2020 14:30
-
-
Save theoctober19th/a72e1df765588eeb51387faa7765ed97 to your computer and use it in GitHub Desktop.
Code golf for first 20 fibonacci numbers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a,b=0,1 | |
for _ in range(20): | |
print(a) | |
a,b=b,a+b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(I would like to do this, if no. of word matters)