refactor: slice exercises 16-21
This commit is contained in:
@ -9,13 +9,10 @@ package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"math/rand"
|
||||
"time"
|
||||
)
|
||||
|
||||
func main() {
|
||||
rand.Seed(time.Now().UnixNano())
|
||||
nums := rand.Perm(100)
|
||||
nums := []int{56, 89, 15, 25, 30, 50}
|
||||
|
||||
// ----------------------------------------
|
||||
// breaks the connection:
|
||||
|
Reference in New Issue
Block a user