You should always refer to the doc for questions like this one: random() doc
The doc says:
For example, random(5) returns values between 0 and 5 (starting at zero, and up to, but not including, 5).
You should always refer to the doc for questions like this one: random() doc
The doc says:
For example, random(5) returns values between 0 and 5 (starting at zero, and up to, but not including, 5).