Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
72541 蒙恒羽 计算平均数 Python3 Compile Error 0 MS 0 KB 130 2024-05-09 20:23:39

Tests(0/0):


Code:

x = list(map(int, input().split())) i = sum(x) / len(x) print(f"{i:.2f}") for j in x: if j > i: print(j, end=' ')


Run Info:

  File "Main.py", line 3
    print(f"{i:.2f}")
                   ^
SyntaxError: invalid syntax