View difference between Paste ID: khbZEhRr and xqTnfvn7
SHOW: | | - or go back to the newest paste.
1-
a = int(input("a = "))
1+
a = float(input("a = "))
2-
b = int(input("b = "))
2+
b = float(input("b = "))
3-
c = int(input("c = "))
3+
c = float(input("c = "))
4-
list = [a, b, c]
4+
if a + b > c and a + c > b and b + c > a:
5-
for i in list:
5+
	print ("Треугольник существует")
6-
	if list.count (i) > 1:
6+
else:
7-
		print (i)
7+
	print ("Треугольник не существует")