Commit 80d662ad authored by BONALA SAI MANIKANTA BHAAVAN's avatar BONALA SAI MANIKANTA BHAAVAN
Browse files

Upload New File

parent ae70a3ac
Pipeline #26114 passed with stage
in 13 seconds
a=int(input())
b=int(input())
c=int(input())
if((a+b)>c and (a+c)>b and (b+c)>a and abs((a-b))<c and abs((a-c))<b and abs((a-b)<c)):
print("valid triangle sides")
else:
print("invalid triangle")
o/p
7
10
50
invalid triangle
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment