Commit e9d93620 by BellCodeEditor

save project

parent 96da2a6d
Showing with 2 additions and 1 deletions
...@@ -3,5 +3,5 @@ dict= {'🍕':3,'🧃':4,'🍗':1,'🍦':3,'🍛':2,'🍟':4,'🥮':5,'🥨':10, ...@@ -3,5 +3,5 @@ dict= {'🍕':3,'🧃':4,'🍗':1,'🍦':3,'🍛':2,'🍟':4,'🥮':5,'🥨':10,
k=input('你想买什么?') k=input('你想买什么?')
if k in dict: if k in dict:
print('叮咚~你的'+k+'需要支付'+str(dict[k])+'元~') print('叮咚~你的'+k+'需要支付'+str(dict[k])+'元~')
eles: else:
print('百货机没有你需要的东西') 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