Commit c2128765 by BellCodeEditor

save project

parent d89810cd
Showing with 6 additions and 4 deletions
dict_hero = {'赵一':30,'丁二':37,'孙五':52,'王猛':89,'周亮':98} dict_hero = {'赵一':30,'丁二':37,'孙五':52,'王猛':89,'周亮':98}
dict_hero["丁一"]=100 k=input("你想买神马")
dict_hero["猴十"]=32 if k in dict_hero:
print(dict_hero["猴十"]) print(str(dict_hero[k])+"yuan")
\ No newline at end of file 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