Ответ: решение на 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)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ: решение на 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)