# (a,b,c)= [int(x) for x in input().split()]
bin_num="1101011"
dec_num=int(bin_num,2)
test1=[10,34,65]
test2=[76,18,55]
test3=[81,75,20]
print(dec_num)
for x in test1:
if(x>dec_num):
print(x," больше, чем ", dec_num)
else:
print(dec_num," больше, чем ", x)
for x in test2:
for x in test3:
Поделитесь своими знаниями, ответьте на вопрос:
вариант 1. ((1 & 0) & 1) 2. ((1 v 0) v А) 3. (1 & 1) & (1 v 0) 4. ((1 v 0) v В) & (1 v A)
# (a,b,c)= [int(x) for x in input().split()]
bin_num="1101011"
dec_num=int(bin_num,2)
test1=[10,34,65]
test2=[76,18,55]
test3=[81,75,20]
print(dec_num)
for x in test1:
if(x>dec_num):
print(x," больше, чем ", dec_num)
else:
print(dec_num," больше, чем ", x)
for x in test2:
if(x>dec_num):
print(x," больше, чем ", dec_num)
else:
print(dec_num," больше, чем ", x)
for x in test3:
if(x>dec_num):
print(x," больше, чем ", dec_num)
else:
print(dec_num," больше, чем ", x)