library: math/rand

This commit is contained in:
xushiwei
2024-07-30 21:41:26 +08:00
parent e7d959da90
commit cacd52f81d
13 changed files with 1342 additions and 19 deletions

12
_demo/randdemo/rand.go Normal file
View File

@@ -0,0 +1,12 @@
package main
import (
"fmt"
"math/rand"
)
func main() {
fmt.Println(rand.Intn(100))
fmt.Println(rand.Intn(100))
fmt.Println(rand.Intn(100))
}