Brad Anderson:
Alternative:randomSample(lowercase, 10, lowercase.length).writeln;
From randomSample docs:
Selects a random subsample out of r, containing exactly n elements. The order of elements is the same as in the original range.<
Bye, bearophile