mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-11 22:06:51 +08:00
13 lines
136 B
Go
13 lines
136 B
Go
package main
|
|
|
|
import "fmt"
|
|
|
|
func main() {
|
|
var i int = 5
|
|
|
|
for i >= 0 {
|
|
i = i - 1
|
|
fmt.Printf("The variable i is now: %d\n", i)
|
|
}
|
|
}
|