maris@lemmy.world to Programmer Humor@programming.dev · 2 months agoGambling with Lainlemmy.worldexternal-linkmessage-square32fedilinkarrow-up1354arrow-down111
arrow-up1343arrow-down1external-linkGambling with Lainlemmy.worldmaris@lemmy.world to Programmer Humor@programming.dev · 2 months agomessage-square32fedilink
minus-squareshape_warrior_t@programming.devlinkfedilinkEnglisharrow-up1·2 months agoYou can get the exclusive behaviour with random.randrange. (Relevant Stack Overflow question with a somewhat interesting answer)
You can get the exclusive behaviour with
random.randrange
. (Relevant Stack Overflow question with a somewhat interesting answer)