Commit 51766e59 by BellCodeEditor

save project

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