I’m trying to generate random integers that are a certain length and separated into three parts.
(I.e. 000-00-000)
The first section is in range of (1 - 800), (1 - 99), and lastly (1 - 800).
how can I do the same thing on python3?
(Not asking for entire script just documentations for python.)
The Roblox Dev Forum is more for lua-related questions, but I believe what you would be looking for is something along the lines of this:
import random
print(random.randrange(1,800),'-',random.randrange(1,99),'-',random.randrange(1,800))
Now, I do not know Python (py), but from a simple good search, I was able to piece together that terrible code.
1 Like