I want to make a random number between 1 and 30
I read the document but i can’t find a method for do it
for example we do it in php by
rand(1 , 30);
How can i handle it
>Solution :
You can pass ranges to the rand function to generate a number between two other numbers, included:
julia> rand(1:30)
24
julia> rand(1:30)
18