Информатика. Даю 50 баллов

Составить программу True,False. Язык Python. Задание 1-3,5-7

Приложения:

Ответы

Ответ дал: pinguinbird
2

1:

a=2

b=3

c=1

if a==b==c:print(True)

else:print(False)

2:

N=34

if N%2 == 0 and N//10 != 0 and N//100 == 0:print(True)

else:print(False)

3:

a=2

b=2

c=5

if (a==b and a!=c) or (b==c and b!=a) or (a==c and a!=b):print(True)

else:print(False)

5.

x=2

y=5

if x>0 and y>0:print(True)

else:print(False)

6.

a=3

c=9

d=27

if c==a**2 and d==a**3:print(True)

else:print(False)

7.

N=50

K=5

if N//10 !=0 and N//100==0 and N%K==0:print(True)

else:print(False)

Вас заинтересует