Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Random numberes' topicStudent Support Forum > General > Archives > "Random numberes"

Next Comment >Help | Reply To Topic
Author Comment/Response
Sarah
02/26/11 5:15pm

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?



URL: ,

Subject (listing for 'Random numberes')
Author Date Posted
Random numberes Sarah 02/26/11 5:15pm
Re: Random numberes Isaac 02/28/11 03:15am
Next Comment >Help | Reply To Topic