Commit c659fe72 by BellCodeEditor

save project

parent 3f08138e
Showing with 7 additions and 0 deletions
dict={'纸巾':1,'可乐':3,'湿巾':2,'矿泉水':2,'薯片':7}#售货机库存
k=input('what do you want?')#想买的东西
if k in dict:
print(k+str(dict[k])+'元')
else:
print('没货,SB')
\ No newline at end of file
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