python3,哪里不对呀,90诀绝子
查看原帖
python3,哪里不对呀,90诀绝子
897775
J16638495651楼主2022/11/28 20:02

a,b = map(str,input().split()) a=eval(a) c=0 if(b=="y"): if(a<=1000): c=8+5 else: c=8+(int((a-1000)/500)+1)*4+5 elif(b=="n"): if(a<=1000): c=8 else: c=8+(int((a-1000)/500)+1)*4 print(c)

2022/11/28 20:02
加载中...