Commit c4fa0e2d by BellCodeEditor

save project

parent 0187e4a1
Showing with 2 additions and 0 deletions
...@@ -3,4 +3,6 @@ name=input('你叫啥名啊?') ...@@ -3,4 +3,6 @@ name=input('你叫啥名啊?')
power=int(input('你臂力多少啊?')) power=int(input('你臂力多少啊?'))
# 请注释掉上面的代码,并在下一行创建一个名为dict_hero的字典 # 请注释掉上面的代码,并在下一行创建一个名为dict_hero的字典
dict_hero={"速度":40,"简单":60,"闪电":79} dict_hero={"速度":40,"简单":60,"闪电":79}
print(dict_hero["简单"])
dict_hero["简单"]=70
print(dict_hero) 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