Write a python function to Check whether triangle is valid or not if sides are given


Topic: Write a python function to Check whether triangle is valid or not if sides are given

Solution

def checkValidity(a, b, c):  
    if (a + b <= c) or (a + c <= b) or (b + c <= a) : 
        return False
    else: 
        return True 
		
		



List all Python Programs