Commit 852750b6 by BellCodeEditor

save project

parent 93355357
Showing with 3 additions and 2 deletions
......@@ -3,8 +3,9 @@
cost= {'AK-47':5200,'迫击炮':129000,'手雷':24,'AUG':4100,'98k':11000}
k=input('请输入名称:')
v=input('请输入价钱:')
if h
if # ?:
if k in cost:
if int(v)<cost[k]:
cost[k]=int(v)
# ?更新价钱
print(k+'降价了,现价'+v+'元')
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment