Commit efdb3888 by BellCodeEditor

save project

parent f7336f9b
Showing with 8 additions and 2 deletions
...@@ -12,8 +12,14 @@ ...@@ -12,8 +12,14 @@
#dict_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':290,'猴七':30} #dict_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':290,'猴七':30}
#print(dict_hero) #print(dict_hero)
#dict_hero['猴队长']=32 #dict_hero['猴队长']=32
dict_hero[猴十]=25 #dict_hero[猴十]=25
print(dict_hero) #print(dict_hero)
list_hero=['可乐':3,'旺仔':4,'水':1,'']
k=input('你想买什么')
if k in dict:
print('你的'+k+'需要)
......
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