Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
66920 胡海峰老师 22计算算术表达式 Python3 Wrong Answer 28 MS 3744 KB 71 2024-03-11 17:42:42

Tests(0/2):


Code:

n = int(input()) for x in range(n): exp = input() print(eval(exp))


Run Info:

------Input------
5 5+4 3*7 8/3 9-9 12%2
------Answer-----
9 21 2 0 0
------Your output-----
9 21 2.6666666666666665 0 0