var a, b, c: integer;begin
readln(a, b, c);
if (a + b <= c) or (b + c <= a) or (a + c <= b) then
writeln('Does not exist')
else if(a = b)and(b = c) then
writeln('Equilateral')
else if(a = b)or(b = c)or(a = c) then
writeln('Isosceles')
else
writeln('Versatile')
end.
переделайте на питон пожалуйста
Answers & Comments
a = input("A: ")
b = input("B: ")
c = input("C: ")
if a+b<=c or b+c<=a or a+c<=b:
print("Does not exist")
else if a == b and b == c:
print("Equllateral")
else if a == b or b == c or a == c:
print("Isosceles")
else:
print("Versatlle")