summaryrefslogtreecommitdiff
path: root/progs/a249.py
blob: 2bb9109f176fbc062aa7520e3f032fb92afa3360 (plain)
1
2
3
4
5
6
7
8
def is_triangleexists(a,b,c): 
    if(a != 0 and b != 0 and c != 0 and (a + b + c)== 180): 
        if((a + b)>= c or (b + c)>= a or (a + c)>= b): 
            return True 
        else:
            return False
    else:
        return False