Dice
Returns a random integer between the bounds, inclusive of both. The result changes on every evaluation, so it is shown rather than asserted here.
| Expression | Result |
|---|---|
roll(1, 6) | an integer from 1 to 6 |
roll(1, 100) | an integer from 1 to 100 |
Returns a random integer between the bounds, inclusive of both. The result changes on every evaluation, so it is shown rather than asserted here.
| Expression | Result |
|---|---|
roll(1, 6) | an integer from 1 to 6 |
roll(1, 100) | an integer from 1 to 100 |