0
Is it possible fr randint() to return same result twice?
2 odpowiedzi
+ 1
Of course, it's just like rolling a dice, it depends on the number of tries! :)
0
If your question is about the point that it is possible that the rng returns twice the same number, then Sfincs answer is correct. If you want it to return it twice, create an object which holds the value created by your random function. This can return the value as long it is existing.