Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for x in range (0,2):
- for y in range (0,2):
- for o in range (2,9):
- for r in range (0,9,2):
- for t in range (5,10):
- for u in range (2,10):
- for w in range (2,10):
- c1=(0+0==r+10*x)
- c2=(x+w+w==u+10*x)
- c3=(y+t+t==10+o)
- c4=(o!=u and o!=r and o!=t)
- c5=(u!=r and u!=t and u!=w)
- c6=(r!=t and r!=w)
- c7=(t!=w)
- if c1 and c2 and c3 and c4 and c5 and c6 and c7:
- print(str(t)+str(w)+str(o))
- print(str(t)+str(w)+str(o))
- print("--------")
- print("1"+str(o)+str(w)+str(r))
- print()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement