Plenty of ways to do this, here is one:
def is_triangle(a, b, c):
if (a > b + c) or (b > a + c) or (c > a + b):
print "No"
else:
print "Yes"
4
solved Python exercise
Plenty of ways to do this, here is one:
def is_triangle(a, b, c):
if (a > b + c) or (b > a + c) or (c > a + b):
print "No"
else:
print "Yes"
4
solved Python exercise