Защита 5-ой лабораторной работы

main
Пользователь № 5 аудитории Ж-113 2 дней назад
Родитель f19dbed3ff
Сommit 144cb92809

@ -0,0 +1,13 @@
sps = []
fl = True
while fl:
n = int(input())
sps.append(n)
if (sps[0]>0 and sps[1]<0) or (sps[0]<0 and sps[1]>0):
print("Знаки должны совпвдвть")
sps.pop()
continue
if len(sps)==2:
break
print(sps)
Загрузка…
Отмена
Сохранить