Commit 9d43e1c8 by BellCodeEditor

save project

parent e4f11283
Showing with 8 additions and 2 deletions
list_hero=['猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30]
\ No newline at end of file
list_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30}
list_hero['猴2']=12
print(list_hero)
if '猴2'in list_hero:
print("猴2来了")
else:
print("猴2没来")
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