4 lines
83 B
OCaml
4 lines
83 B
OCaml
|
|
let list_rand lst =
|
||
|
|
let len = List.length lst in
|
||
|
|
List.nth lst (Random.int len)
|