Guest User

Untitled

a guest
Nov 20th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. import time
  2. import itertools
  3.  
  4. nonStop = True
  5. answerList = [1, 2, 3, 0, 4, 5, 6]
  6.  
  7. combinations = itertools.permutations([1, 2, 3, 0, 4, 5, 6])
  8.  
  9. while nonStop == True:
  10. for value in combinations:
  11. i = 0
  12. print(value)
  13. i += 1
  14. time.sleep(2)
Add Comment
Please, Sign In to add comment