Слайд 2Choice
Choose a random element from a non-empty sequence.
Слайд 3Choices
Return a k sized list of population elements chosen with replacement.
If
the relative weights or cumulative weights are not specified,
the selections are made with equal probability.
Слайд 4Randint
Return random integer in range [a, b], including both end points.
Слайд 5Randrange
Choose a random item from range(start, stop[, step]).
This fixes the problem
with randint() which includes the
endpoint; in Python this is usually not what you want.
Слайд 6Random
random() -> x in the interval [0, 1).