def is_triangle(a, b, c):
    num_list = [a, b, c]
other1, other2, biggest = sorted(num_list)
sum_of_two = other1 + other2
if sum_of_two > biggest:
    print('Congrats, %d, %d, and %d form a triangle!' % (a, b, c))
elif sum_of_two == biggest:
    print('That forms a degenerate triangle!')
else:
    print("That does't make any sort triangle... >:[")
How to think like a Computer Scientist exercise