Commit 9a73186b by BellCodeEditor

auto save

parent 87be3438
Showing with 8 additions and 0 deletions
# 在下一行创建一个名为dict_hero的字典
dict_hero={'一';1,'二';2,'三';3}
print(dict_hero)
# 直接运行以下代码,说说你的发现:
dict_hero={'一':1,'二':2,'三':3}
dict_hero['一']=8
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