Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- a = [x for x in range(56)]
- random.shuffle(a)
- b = [x for x in range(40)]
- random.shuffle(b)
- c = []
- for i in a:
- for i in b:
- if i in a and i in b:
- if i not in c:
- c.append(i)
- print c
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement