Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
78714 张智博 输出学生成绩 Python3 Compile Error 0 MS 0 KB 209 2024-06-26 21:09:02

Tests(0/0):


Code:

a = [list(map(int, input().split())) for _ in range(3)] n = int(input()) total_avg = sum(sum(scores, [])) / (len(scores) * len(scores[0])) print(f"{total_avg:.2f}") print(" ".join(map(str, scores[n - 1])))


Run Info:

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