Commit 828629e0 by BellCodeEditor

save project

parent 9b25e5b6
Showing with 6 additions and 10 deletions
dict_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30}
print(dict_hero)
print(dict_hero['猴队长'])
dict_hero['猴七']=32
print(dict_hero['猴七'])
dict_hero['猴十']=25
print(dict_hero)
\ No newline at end of file
dict_daoban={'白事可乐':4,'旺仔niubi奶':3,'奥利给':6,'农夫三拳':2,'臭豆腐':1,'野生炸鸡':10,'羊了个羊':22}
i=input("你要什么咩")
if i in dict_daoban:
print("需要"+str(dict_daoban[i])+"块")
else:
print("没有")
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