#try to avoid input function a = int(input()) b = int(input()) c = int(input()) if a+b+c == 180 and a != 0 and b != 0 and c != 0: print("Valid Triangle") else: print("Invalid Triangle")
Click the run button. Try to avoid input() function.