改正
查看原帖
改正
1122881
封禁用户楼主2023/10/29 09:17

x,y,c=input().split() x=int(x) y=int(y) c=str(c) if c=="+": print(x+y) if c=="-": print(x-y) if c=="": print(xy) if c=="/": if y==0: print("Divided by zero!") if y!=0: print("%d"%(x/y)) if c!="+" and c!="-" and c!="*" and c!="/":

2023/10/29 09:17
加载中...