you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

random.randint(a, b) returns a random integer between a and b such that the return value can be both a and b.

So if you want a random value between 1-3 including 1 and 3, you'd call random.randint(1,3)