1/4
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
random.randrange(start, stop, step)
Return a randomly selected element from range(start, stop, step). Note stop is excluded from the range.
random.randint(a, b)
Return a random integer N such that a <= N <= b
random.choice(seq)
Return a random element from the non-empty sequence seq.
random.sample(population, k)
Return a k-length list of elements chosen from the population sequence. Used for random
sampling without replacement.
random.random()
Return a random floating-point number in the range [0.0, 1.0]