Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
68354 冯潇阳 判断三角形形状 Python3 Compile Error 0 MS 0 KB 184 2024-03-23 10:45:26

Tests(0/0):


Code:

t=input() while t!=0: a,b,c=input().split() if a**2 + b**2 = c**2: print("good") elif a==b or a==c or b==c: print("perfect") else: print("just a triangle")


Run Info:

  File "Main.py", line 5
    if a**2 + b**2 = c**2:
                   ^
SyntaxError: invalid syntax