Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import time
- import itertools
- nonStop = True
- answerList = [1, 2, 3, 0, 4, 5, 6]
- combinations = itertools.permutations([1, 2, 3, 0, 4, 5, 6])
- while nonStop == True:
- for value in combinations:
- i = 0
- print(value)
- i += 1
- time.sleep(2)
Add Comment
Please, Sign In to add comment