shuffle(x, random=None)

Слайд 2

random(...)
random() -> x in the interval [0, 1).

random(...) random() -> x in the interval [0, 1).

Слайд 3

randint(a, b)
Return random integer in range [a, b], including both end points.

randint(a, b) Return random integer in range [a, b], including both end points.

Слайд 4

randrange(start, stop=None, step=1, _int=)
Choose a random item from range(start, stop[, step]).

randrange(start, stop=None, step=1, _int= ) Choose a random item from range(start, stop[,
This fixes the problem with randint() which includes the endpoint; in Python this is usually not what you want.
Имя файла: shuffle(x,-random=None).pptx
Количество просмотров: 32
Количество скачиваний: 0