python random variable from distribution between 0 and 1 code example Example: random number pythn import random n = random.randint(0,22) print(n) # Output: 2