Commit a5d2a0b2 by BellCodeEditor

save project

parent 6ebf084d
Showing with 0 additions and 8 deletions
# 请注释掉上面的代码,并在下一行创建一个名为dict_hero的字典
dict_hero={"赵一":30,"丁二":37,"孙五":52}
dict_hero["王起"]="王八"
print(dict_hero)
if "丁二" in dict_hero:
print(dict_hero["丁二"])
\ 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