math.random
Example: Random in Range
Generate a random number between 1 and 400 with both math.random and math.Rand.
Output: Random Integer [ 1 , 400 ) : 317
Example: Random Table Key
Select a random key from a table, where the keys have a different probability of being selected.
Output: Banana
Grape
Banana
Orange
Orange