human
Check whether triangle is valid or not if sides are given | function to check if three sides form a triangle or not.
check condition.
driver code.
function calling and print output"
Solution in Python:
assistant
#Here is code to check whether triangle is valid or not if sides are given and the other steps required.
 def checkValidity ( a , b , c ) :
	if ( a + b <= c ) or ( a + c <= b ) or ( b + c <= a ) :
		return False
	else :
		return True
a = 7
b = 10
c = 5
if checkValidity ( a , b , c ) :
	print ( " Valid " )
else :
	print ( " Invalid " )