Commit 9f041b41 by BellCodeEditor

save project

parent 7c73876a
Showing with 7 additions and 0 deletions
dict={'可口可乐':3,'旺仔牛奶':5,'奥利奥':6,'柠檬水':4,'溜溜梅':7,'溜溜果':8}
t=int(input("你想要什么呀?"))
if t in dict:
print("您需要付"+t+"元")
if t in dict:
print("对不起,没有您要的商品")
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