Commit 7324743f by BellCodeEditor

save project

parent dcc49db4
Showing with 2 additions and 2 deletions
...@@ -14,6 +14,6 @@ dict_hero = {'猴三' :10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30} ...@@ -14,6 +14,6 @@ dict_hero = {'猴三' :10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30}
dict_hero['猴七']=100 dict_hero['猴七']=100
if zhubajie in dict_hero: if zhubajie in dict_hero:
print(用户名已存在) print(用户名已存在)
else zhubajie in dict_hero else zhubajie in dict_hero
dict_hero['zhubajie']=999 dict_hero['zhubajie']=999
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