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