Commit 8353682e by BellCodeEditor

auto save

parent 74991fac
Showing with 7 additions and 5 deletions
weather={"北京":8,"上海":15,"广州":20,"深圳":21} dict={"可口可乐":3,"巴西烤肉":2,"辣条":3,"奥利奥":10}
data=weather.pop("北京") k=input("你想要什么?")
print(data) if k in dict:
print(weather) print("叮咚~您的"+k+"需要支付"+str(dict[k])+"元~")
\ No newline at end of file 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