用main函数输入判断三边是否构成三角形
a, b, c = map(int, input().split())if a+b>c and a+c>b and b+c>a: print("yes")else: print("no")
一楼回答的可以了 只是放在main函数内部就行