- #1
Sarah rob
- 16
- 0
I am trying to create a list of 5 random numbers between 1 and 20
In[62]:= RandomInteger[{1, 20}, 5]
Out[62]:= {10, 11, 9, 8, 1}
But is it possible to exclude the number 10 from appearing?
In[62]:= RandomInteger[{1, 20}, 5]
Out[62]:= {10, 11, 9, 8, 1}
But is it possible to exclude the number 10 from appearing?