push all exercices
This commit is contained in:
14
ch4/1/ch4_1.go
Normal file
14
ch4/1/ch4_1.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"math/rand"
|
||||
)
|
||||
|
||||
func main() {
|
||||
randSlice := make([]int64, 100)
|
||||
for i := 0; i < 100; i++ {
|
||||
randSlice[i] = rand.Int63n(100)
|
||||
}
|
||||
fmt.Println(randSlice)
|
||||
}
|
||||
Reference in New Issue
Block a user