Skip to content

Commit 7e66776

Browse files
committed
statement
1 parent bac3d60 commit 7e66776

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package main
2+
3+
import (
4+
"fmt"
5+
"math/rand"
6+
)
7+
8+
func main() {
9+
for i := 0; i < 100; i++ {
10+
if x := rand.Intn(5); x == 3 {
11+
fmt.Printf("loop %v\tx is 3\n", i)
12+
}
13+
}
14+
}

0 commit comments

Comments
 (0)