Random number generator (lottery)

This solution would leave you short of 7 numbers if you got any duplicates.

There are two solutions at

1 Like