Q:

generate random number elixir

Enum.random(0..n)
0
random_number = :rand.uniform(n)
0

New to Communities?

Join the community