chance v2

Run Settings
LanguageLua
Language Version
Run Command
local chance=50 local times=500 math.randomseed(os.time())local f=0;local k=0;for j=0,times-1 do;f=f+1;local t=math.random(1,chance)local b=1/chance*100;if t==1 then;k=k+1;print("("..f..") "..t.."<---------- (1/"..chance..","..b.."%)")else;print("("..f..") "..t);end;end;print("("..k..")")
Editor Settings
Theme
Key bindings
Full width
Lines