python计算机

发布时间:2026/10/1 15:42:45
python计算机 用eval计算为避免用户输入错误使用try-except解决try:defComputer():print(eval(input()))Computer()except:print(输入错误)