Commit 94b81d11 by BellCodeEditor

save project

parent 0690c349
Showing with 7 additions and 4 deletions
message = "诺依,周末一起去看动漫展吧!" dict={"COCE":3,"奶":5,"水":2,}
k=input("买啥")
# 请对message进行遍历,取出所有元素 if k in dict:
print("来了"+k+"给钱"+str(dict[k])+"元-----")
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