def checkTriangle(length1, length2, length3):
if length1 + length2 > length3 and length1 + length3 > length2 and length2 + length3 > length1:
return True
else:
return False
" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
def checkTriangle(length1, length2, length3):
if length1 + length2 > length3 and length1 + length3 > length2 and length2 + length3 > length1:
return True
else:
return False