maris@lemmy.world to Programmer Humor@programming.dev · 1 day agoGambling with Lainlemmy.worldimagemessage-square29fedilinkarrow-up1288arrow-down111
arrow-up1277arrow-down1imageGambling with Lainlemmy.worldmaris@lemmy.world to Programmer Humor@programming.dev · 1 day agomessage-square29fedilink
minus-squareshape_warrior_t@programming.devlinkfedilinkEnglisharrow-up1·9 hours 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)