Skip to content
Flint
Dokumentation

random

modulPaperVelocity

Random numbers and choices.

import random

Funktioner 6

Random whole number from min to max, both included.

Random decimal number (0 to 1 by default).

True with the given probability, e.g. random.chance(25).

A random item of a list, or none if it is empty.

A shuffled copy of a list.

A random UUID as text.