I need to make a typical integer filled array with 10 random non repeating numbers from 0 to 20. Also, I need to be able to modify this so I can exclude some random numbers
First build a list of size 20 with values 0,...,19 Then shuffle() it And last - take the sublist containing first 10 elements.
0,...,19