Commit 4917fc46 by BellCodeEditor

save project

parent 599564b9
Showing with 235 additions and 0 deletions
goods={"可乐":3,"雪碧":10,"抗生素":101,"饿死了吗":10}
a=input("你要什么?:")
if a in goods:
print("你的商品"+a+"需要"+str(shangp[a]))
else:
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