Commit 190ea01c by BellCodeEditor

save project

parent 5261121e
Pipeline #8956 failed in 0 seconds
Showing with 9 additions and 2 deletions
dict={}
\ No newline at end of file
dict={'可口可乐':3,'旺仔牛奶':4,'巴西烤肉':2,'巧克力':5,' 奥利奥':6}
j=input("你要买什么?")
for j in range(len(dict)):
if j in dict:
prink("你的"+str(dict)+)
break
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