Commit 993ffba5 by BellCodeEditor

save project

parent a285692f
Showing with 7 additions and 3 deletions
......@@ -9,6 +9,9 @@
# break
#print(list_hero)
# 请注释掉上面的代码,并在下一行创建一个名为dict_hero的字典
dict_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30}
dict_hero["后期"]="84"
print(dict_hero)
dict_hero={'百事可乐':10,'嵇钟毓的脑子':23,'嵇钟毓的肾':28,'乐事薯片':29,'车门':30}
a=input("你要买啥?滚")
if a in dict_hero:
print('孙子'+a+'需要留下'+str(dict_hero[a])+'元~')
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