Farz0l1x

Untitled

Feb 17th, 2023
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. def f(x, y, a):
  2.     return (x > a) or (y > a) or (y - 2 * x + 12 != 0)
  3. def g():
  4.     for a in range(1, 10000):
  5.         if all(f(x, y, a) == 1 for x in range(1000) for y in range(1000)):
  6.             print(a)
  7. g()
Advertisement
Add Comment
Please, Sign In to add comment