Random::randn

Details

  • The second argument in Random is expected to be either a number or a list of two numbers.
  • Off[message] switches off the message; On[message] switches it on. For example: Off[Random::randn].

Examples

Basic Examples  (1)

If the second element in Random is a list, that list should give both endpoints for the range of random numbers:

This generates a random integer between zero and ten: