chance?

Run Settings
LanguageLua
Language Version
Run Command
local chance = 100 local tries = 500 local did = 0 math.randomseed(os.time()) for i=0, tries-1 do local a = math.random(1,chance) if a == 1 then did = did+1 end end print("done") print(tries.." tries for a 1/"..chance.." chance got") print(did)
Editor Settings
Theme
Key bindings
Full width
Lines