Advertisement
Korotkodul

tr10.n2

Jun 10th, 2023
500
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. def f(x, y, z, w):
  2.     return (x >= z) and w and (y != z)
  3.  
  4. v = [0,1]
  5. print('x y z w')
  6. for x in v:
  7.     for y in v:
  8.         for z in v:
  9.             for w in v:
  10.                 F = f(x,y,z,w)
  11.                 if F:
  12.                     print(x,y,z,w)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement