Commit 1dd508c3 by BellCodeEditor

save project

parent 3bbffdf8
Showing with 7 additions and 0 deletions
dict={'水':2,'面包':3,'饮料':3,'薯片':4}
a=input("你要啥")
if a in dict:
print("你要的"+a+"需要"+str(dict[a]))
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