Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from random import randint
- from random import seed
- seed(10)
- lst = []
- for el in range(20):
- lst.append(randint(1, 40))
- print(lst)
- # [37, 3, 28, 31, 37, 1, 14, 30, 32, 18, 11, 3, 34, 32, 21, 5, 16, 24, 3, 27]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement