Commit 9accd71e by BellCodeEditor

save project

parent 73cfff2b
Showing with 5 additions and 6 deletions
name={"海军":138,"林肯":123,"雷成海":134}
name["石头"]=100
if "呼呼" in name:
print("在")
dict={"可口可乐":3,"汉堡":6,"缺牙齿":1}
k=input("你想要什么")
if k in dict:
print("你要的"+k+"是"+str(dict[k])+"元")
else:
print("不在")
\ No newline at end of file
print("抱歉缺货")
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