Python 3 - EdDoc

EdDoc: home/built-in_modules/random/random.randint

random.randint()

A function available after importing the built-in random module.
Produces a random integer.

arguments:

This function requires two integers:

randint(a, b)

returns:

a randomly chosen integer.

what it can do:

This function returns an integer from with a value from a to b inclusive:

>>> random.randint(3,7)
7
>>> random.randint(3,7)
6
>>> random.randint(3,7)
6

etc.