Commit e8d7e464 by BellCodeEditor

save project

parent 9ed85b40
Showing with 7 additions and 0 deletions
dick={'旺仔牛奶':8,'辣条':2,'可口可乐':3,'冰棍':1,'苹果':10}
l=input("你要买什么?")
if l in dick:
print("你要买的"+l+"是"+str(dick[l])+"元")
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