Commit cb7db84c by BellCodeEditor

auto save

parent 9ed85b40
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