random()
Generate a random number between two values based on a uniform probability distribution
Last updated
Generate a random number between two values based on a uniform probability distribution
Last updated
Input | Description |
---|---|
min | the minimum number of the range |
max | the maximum number of the range |
Input | Description |
---|---|
choices | a list of values to pick from |
This function returns a random decimal (float/double) value out of a continuous range of numbers, between a minimum and maximum, or returns a random value out of a discrete list of any data types.
Find these documents helpful? Let the people who made them help your child learn to code at Strivemath!
We'd love to hear your Feedback/Comments here.