from random import randint range_min = 0 range_max = 10 a_number = randint(range_min, range_max)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
Discussion on: How can I generate random numbers in Python?
For further actions, you may consider blocking this person and/or reporting abuse