import sys
a = float(input())
b = float(input())
c = float(input())
if a + b > c and b + c > a and a + c > b:
print("triangle")
else:
print("not triangle")
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
import sys
a = float(input())
b = float(input())
c = float(input())
if a + b > c and b + c > a and a + c > b:
print("triangle")
else:
print("not triangle")