Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
85725 吴梓玄 简单的分支结构 Python3 Compile Error 0 MS 0 KB 72 2024-07-20 09:16:01

Tests(0/0):


Code:

x=int(input()) if x>0: print 1 elif x=0: print 0 else: print -1


Run Info:

  File "Main.py", line 3
    print 1
          ^
SyntaxError: Missing parentheses in call to 'print'