Commit 32bec17b by BellCodeEditor

save project

parent 51e22909
Showing with 7 additions and 2 deletions
d={'} d={'k':2,'d':4,'s':1,'b':2}
\ No newline at end of file k=input('你想买什么呀')
if k in d:
print('你的'+k+'你需要支付'+str(d)+'元')
else:
print('缺货')
\ 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