Commit fc81155c by BellCodeEditor

auto save

parent bf8085eb
Showing with 7 additions and 0 deletions
dict={"可乐":3,"烤肉":5,"橙汁":4}
i=input("你想买什么?")
if i in dict:
print("你买的"+i+"要花"+str(dict[i]))
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