Commit 26a1a113 by BellCodeEditor

save project

parent 53cff087
Showing with 8 additions and 0 deletions
dictq={"巧克力":8,"辣条":1,"可口可乐":3}
k=input("您想要什么")
print("我想要"+k)
if k in dictq:
print(k+"共"+str(dictq[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