human
Check whether Quadrilateral is valid or not if angles are given | Function to check if a given quadrilateral is valid or not.
Check condition.
Driver code"
Solution in Python:
 Write me a code to check whether Quadrilateral is valid or not if angles are given and the other steps required?
assistant
#Here is code to check whether Quadrilateral is valid or not if angles are given and the other steps required.
 def Valid ( a , b , c , d ) :
	if ( a + b + c + d == 360 ) :
		return True ;
	return False ;
a = 80 ; b = 70 ; c = 100 ; d = 110 ;
if ( Valid ( a , b , c , d ) ) :
	print ( " Valid ▁ quadrilateral " ) ;
else :
	print ( " Invalid ▁ quadrilateral " ) ;