Advertisement
nq1s788

2

Feb 16th, 2024
1,101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. print('x y z w')
  2. for x in range(2):
  3.     for y in range(2):
  4.         for z in range(2):
  5.             for w in range(2):
  6.                 if (((x<=y) and (y<=w)) or (z==(x or y))) == 0:
  7.                     print(x, y, z, w)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement