maris@lemmy.world to Programmer Humor@programming.dev · 27 days agoGambling with Lainimagemessage-square32linkfedilinkarrow-up1355arrow-down111
arrow-up1344arrow-down1imageGambling with Lainmaris@lemmy.world to Programmer Humor@programming.dev · 27 days agomessage-square32linkfedilink
minus-squareshape_warrior_t@programming.devlinkfedilinkEnglisharrow-up1·26 days 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)