Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def f(x, y, a):
- return (3 * x + 2 * y != 60) or (a > y) or (y > x)
- for a in range(1, 1000):
- if all(f(x, y, a) == 1 for x in range(1, 1000) for y in range(1, 1000)):
- print(a)
- break
Advertisement
Add Comment
Please, Sign In to add comment