Sign in
go
/
tour
/
6f9d4ff994b136951d420708cd231da267653086
/
.
/
content
/
flowcontrol
/
for-is-gos-while.go
blob: 5f6fce4c9872f3adc4f24d59c4a105c4c118859f [
file
] [
log
] [
blame
]
// +build OMIT
package main
import "fmt"
func main() {
sum := 1
for sum < 1000 {
sum += sum
}
fmt.Println(sum)
}