Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- # generate a list containing 1000 values (0-999)
- thousand = list()
- for x in range(1000):
- thousand.append(x)
- # randomly sort generated list
- random.shuffle(thousand)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement