Commit 46c87ec6 by BellCodeEditor

save project

parent 0a7aa936
Showing with 7 additions and 0 deletions
hp = {'可乐':4,'屎':5,'鱼子酱':999999999}
k = input("你要啥东西?")
if k in hp:
print("叮咚,您要买的东西"+k+"需要支付"+str(hp[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