Commit 81b9957b by BellCodeEditor

save project

parent 2f72320f
Showing with 6 additions and 0 deletions
......@@ -10,4 +10,10 @@
# print(list_hero)
# 请注释掉上面的代码,并在下一行创建一个名为dict_hero的字典
dict_hero={1:2,3:4,5:6,7:8,}
if 6 in dict_hero:
print("在。")
else:
print("不在。")
dict_hero[1]=100
dict_hero[8]=9
print(dict_hero)
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