Commit 7b12c0bd by BellCodeEditor

save project

parent 8e46cf07
Showing with 9 additions and 0 deletions
# 创建字典
dict_hou = {'猴队长':20,'猴7':30}
# 提取猴队长臂力值
print(dict_hou['猴队长'])
# 修改猴7臂力值
dict_hou['猴7']=32
# 输出字典
print(dict_hou)
\ 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