Commit 8845cc6e by BellCodeEditor

auto save

parent eb01f019
Showing with 2 additions and 2 deletions
item= {'cola':3,'mile':4,'农夫山泉':1,'辣条':3,'meat':2,'果冻':5,'乐事':5,'olo':10,"chocoate":6} item= {'cola':3,'mile':876769698698698769879898787097097,'农夫山泉':1,'辣条':3,'meat':2,'果冻':5,'乐事':5,'olo':10,"chocoate":6}
k=input('您需要什么东西:') k=input('您需要什么东西:')
num=input('需要几个:') num=input('需要几个:')
if k in item: if k in item:
...@@ -6,7 +6,7 @@ if k in item: ...@@ -6,7 +6,7 @@ if k in item:
print('叮咚~您的'+k+'需要支付'+str(i)+'元~') print('叮咚~您的'+k+'需要支付'+str(i)+'元~')
else: else:
print('无') print('无')
ccc
......
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