you are viewing a single comment's thread
view the rest of the comments

You can get the exclusive behaviour with random.randrange. (Relevant Stack Overflow question with a somewhat interesting answer)

  • source
  • parent