fork download
  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. f = (not(x <= z) or (y == w) or y)
  7. if f == 0:
  8. print(x, y, z, w)
  9.  
Success #stdin #stdout 0.01s 7104KB
stdin
Standard input is empty
stdout
x y z w
(0, 0, 0, 1)
(0, 0, 1, 1)
(1, 0, 1, 1)