Returns length characters, each drawn uniformly from alphabet.
length
alphabet
the characters to draw from, each once
how many to draw
the string
Error for an alphabet of fewer than two distinct characters, a repeated character, or a length that is not a whole number
Returns
lengthcharacters, each drawn uniformly fromalphabet.