Commit 193cbe47 by BellCodeEditor

save project

parent 595244f5
Showing with 2 additions and 1 deletions
dict={'乐事':3,'辣条':3,'果冻':4}
k = input("您要买什么?")
g = input("您要买几个?")
if k in dict and g<=k
if k in dict and g<dick[k]
print("叮咚~您的"+k+"需要支付"+str(dict[k]*g)+"元~")
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