Hello!
What is the best way to find a random number that is not equal to two specific values?
ex:
- find random number (let’s say from 0 to 5)
- check if the result is not 4 or 5
- If it is, run the random function again and again until the condition is met.
Or maybe there’s a way to set up that at once (find random number that is not equal to 4 or 5).
Thanks!