maris@lemmy.world to Programmer Humor@programming.dev · 2 days agoGambling with Lainlemmy.worldimagemessage-square33fedilinkarrow-up1320arrow-down111
arrow-up1309arrow-down1imageGambling with Lainlemmy.worldmaris@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square33fedilink
minus-squareshape_warrior_t@programming.devlinkfedilinkEnglisharrow-up1·23 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)