![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | lucasfazzi |
Is it possible to generate a random number without repeat the last one that is picked?
Something like that:
The randi gives the options: 1,2,3,4,5,6,7,8,9,10;
than chosse number 9;
than randi gives the options: 1,2,3,4,5,6,7,8,10;
than choose number 5;
than randi givers 9 options: 1,2,3,4,6,7,8,9,10
than choose number 10;
than randi gives the options: 1,2,3,4,5,6,7,8,9
thanks guys