• random9@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    9 months ago

    isn’t randint range inclusive? thus random.randint(0, 6) == 1 has a 1 in 7 chance, not 1 in 6. Most revolvers, assuming this is emulating russian roulette, have 6 cylinders, not 7.