Commit 3dd47c8a by BellCodeEditor

save project

parent 07a28908
Showing with 14 additions and 8 deletions
dict_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30} # dict_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30}
print(dict_hero) # print(dict_hero)
print(dict_hero['猴队长']) # print(dict_hero['猴队长'])
dict_hero['猴七']=32 # dict_hero['猴七']=32
print(dict_hero['猴七']) # print(dict_hero['猴七'])
dict_hero['猴十']=25 # dict_hero['猴十']=25
print(dict_hero) # print(dict_hero)
\ No newline at end of file giao={"旺仔牛逼奶"648,"农妇山泉"998}
k=input("想买嘛")
if i in giao:
print("搁这呢,"=str(giao[k]))
else:
print("木有,爬")
\ No newline at end of file
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