Commit 8979a10d by BellCodeEditor

save project

parent 9452198a
Showing with 8 additions and 3 deletions
......@@ -9,10 +9,15 @@ for i in range(len(list_hero)):
break
print(list_hero)'''
# 请注释掉上面的代码,并在下一行创建一个名为dict_hero的字典
dict_hero={"Jojo":12,"dio":23,"空条 承太郎":99}
'''dict_hero={"Jojo":12,"dio":23,"空条 承太郎":99}
dict_hero["空条 承太郎"] = 100
dict_hero["嫩叠"]=134
if "空条 承太郎"in dict_hero:
print(dict_hero["空条 承太郎"])
print(dict_hero)
print(dict_hero)'''
btj_olj = {"旺仔牛逼奶":3,"乐土":4,"奥力给":5}
k = input("你想买啥呀?")
if k in btj_olj:
print("需要支付"+str(btj_olj[k])+"元~" )
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