Created
July 11, 2013 22:11
-
-
Save chespinoza/5979705 to your computer and use it in GitHub Desktop.
A bored FIbonacci Generator
This file contains 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
package main | |
import "fmt" | |
func main() { | |
for i, j := 0, 1; j < 100; i, j = i+j,i { | |
fmt.Println(i) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment