Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A Tour of GO#17
package main
import (
"fmt"
)
func main() {
sum := 0
for i := 0; i < 10; i++ {
sum += i
}
fmt.Println(sum)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment