Skip to content

Instantly share code, notes, and snippets.

@jonathan-fielding
Created January 6, 2021 21:01
Show Gist options
  • Save jonathan-fielding/3c23e4dcbcee0db98214b2290818873b to your computer and use it in GitHub Desktop.
Save jonathan-fielding/3c23e4dcbcee0db98214b2290818873b to your computer and use it in GitHub Desktop.
package main
import "fmt"
func main() {
i := 1
for i <= 5 {
fmt.Println(i)
i = i + 1
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment