Commit afb9af0d by BellCodeEditor

save project

parent defa2dbf
Showing with 2 additions and 0 deletions
...@@ -20,6 +20,8 @@ dict_hero['猴七']=45 ...@@ -20,6 +20,8 @@ dict_hero['猴七']=45
Q=input("要查询的") Q=input("要查询的")
if Q in dict_hero: if Q in dict_hero:
print("yes,it is") print("yes,it is")
else:
print(dict_hero) print(dict_hero)
dict_hero['猴速度']=45 dict_hero['猴速度']=45
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