mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 02:16:48 +08:00
update book code
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
package main
|
||||
|
||||
func main() {
|
||||
for i:=0; i<3; i++ {
|
||||
for j:=0; j<10; j++ {
|
||||
if j>5 {
|
||||
break
|
||||
}
|
||||
print(j)
|
||||
}
|
||||
print(" ")
|
||||
}
|
||||
package main
|
||||
|
||||
func main() {
|
||||
for i:=0; i<3; i++ {
|
||||
for j:=0; j<10; j++ {
|
||||
if j>5 {
|
||||
break
|
||||
}
|
||||
print(j)
|
||||
}
|
||||
print(" ")
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user