Commit 2f8ef20a by BellCodeEditor

save project

parent 7324743f
Showing with 2 additions and 2 deletions
......@@ -12,8 +12,8 @@ power=int(input('你臂力多少啊?'))
dict_hero = {'猴三' :10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30}
dict_hero['猴七']=100
if zhubajie in dict_hero:
if 'zhubajie' in dict_hero:
print(用户名已存在)
else zhubajie in dict_hero
else:
dict_hero['zhubajie']=999
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