Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for A in range(2,32):
- isItSol = True
- for x in range(1,32):
- if not ((x&29 == 0) or (x&17 != 0) or (x&A != 0)):
- isItSol = False
- if isItSol:
- print(A)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement