Commit 25f81b35 by BellCodeEditor

save project

parent e9bedf2e
Showing with 7 additions and 0 deletions
dict={"可口可乐":3,"旺仔牛奶":4}
j=input("买什么")
if j in dict:
print(j+'需要付'+str(dict[j])+'元')
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