Commit 18af602e by BellCodeEditor

save project

parent 1bad0edb
Showing with 13 additions and 0 deletions
dict= {'百事可乐':3,'靓仔牛奶':10,'农夫三拳':1,'辣条':3,'巴西烤肉':2,'果冻':4,'乐事':56,'奥利给':1,'巧克力':6,'鸡':9}
j=input("你要买什么?")
if j in dict:
print("给你的"+j+"给朕"+str(dict[j])+"美刀")
else:
print("老子没这玩意,滚一边去。")
\ No newline at end of file
hgjrcke = {"a":1,"b":2,"c":3}
hgjrcke = {"a":1,"b":2,"c":3}
hgjrcke.pop("c")
print(hgjrcke)
\ 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