ответ: решение на python
print('a', 'b', 'f')
for a in range(2):
for b in range(2):
f = ((a <= b) and (not a or not b))
if f:
f = 1
else:
f = 0
print(a, b, f)
ответ: решение на python
print('a', 'b', 'f')
for a in range(2):
for b in range(2):
f = ((a <= b) and (not a or not b))
if f:
f = 1
else:
f = 0
print(a, b, f)