Commit cf8fdc77 by BellCodeEditor

auto save

parent f0c715f8
Showing with 19 additions and 0 deletions
A = {"a":25,"b":23,"c":25,"d":72} #字典
#添加
#删除
#修改
#遍历
#判断
name = input("输入你要查询的名字")
if name in A:
print(name,"有")
else:
print(name,"没有")
# print(A)
\ 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