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!