n unique random numbers in python

46

n unique random numbers in python -

>>> import random
>>> random.sample(range(1, 100), 3)
[77, 52, 45]

Comments

Submit
0 Comments