Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- counter = 0
- for x1 in range(1, 49+1):
- for x2 in range(2, 49+1):
- for x3 in range(3, 49+1):
- for x4 in range(4, 49+1):
- for x5 in range(5, 49+1):
- for x6 in range(6, 49+1):
- if x1 != x2 and x1 != x2 and x1 != x3 and x1 != x4 and x1 != x5 and x1 != x6 and x2 != x3 and x2 != x4 and x2 != x5 and x2 != x6 and x3 != x4 and x3 != x5 and x3 != x6 and x4 != x5 and x4 != x6 and x5 != x6:
- counter += 1
- if counter % 1000000 == 0:
- print(counter)
- print(f"{x1} {x2} {x3} {x4} {x5} {x6}")
- print(counter)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement