Farz0l1x

Untitled

Sep 23rd, 2022
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. def f(x, y, a):
  2.     return (x < 40) or (y < 50) or (3 * x + 2 * y > a)
  3. for a in range(1, 1000):
  4.     if all(f(x, y, a) == 1 for x in range(1, 1000) for y in range(1, 1000)):
  5.         print(a)
Advertisement
Add Comment
Please, Sign In to add comment