Loop / Repeat if random number = 0
1 view (last 30 days)
I have good and fun code and it is working very well.
However, I am getting an error when I get zero (0) from my "random integer generator":
Is there any way I can tell the script to rerun the calculation for n, if n=zero? I am unable to change the variable n, and despite the low chance of getting two n=0 I want to "reroll" until n is definitely not equal to zero. Any idea how to do this?