Commit d1834668 by BellCodeEditor

save project

parent 31e4ed1a
Showing with 5 additions and 4 deletions
dict = {'白事可乐':3,':靓仔牛奶':4,'农夫山贼':1,'牛条':3
'马牛逼':100,'武大郎果冻':4}
dict = {'白事可乐':3,'靓仔牛奶':4,'农夫山贼':1,'牛条':3,'马牛逼':13,'武大郎果冻':4}
k=input('你想买神马呀?')
if k in dict:
print('叮咚~')
\ No newline at end of file
print('叮咚~您的'+k+'得支付'+str(dict[k])+'元~')
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