• Предмет: Информатика
  • Автор: zarinatobataeva007
  • Вопрос задан 1 год назад

2. Установите соответствие между типами данных: (3 б) A.print ('cost ofthe t') t=int (input () if t>=2000: t=t-t 10/100 1.Вложенное условие 2.Условный оператор 3.Составные условия print (t) B. n=int (input() if n =10 and n =100: print ("YES") else: print("NO") C. print (input A') A-int (input (0) if AP100: if A>1000: print (A lot of money') print ('enough money') else: print(not enough money) else:​

Ответы

Ответ дал: kirillnevajno27
0

Вложенное условие:

t = int(input())

if t >= 2000:

t = t - t*10/100

print(t)

Условный оператор:

n = int(input())

if n == 10 and n == 100:

print("YES")

else:

print("NO")

Составные условия:

A = int(input())

if A > 100:

print("A lot of money")

elif A >= 0 and A <= 100:

print("enough money")

else:

print("not enough money")

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