Commit 2cf366b4 by BellCodeEditor

auto save

parent d0464837
Showing with 7 additions and 2 deletions
dict_hero={'赵一':50,'李四':80} dict_hero={'赵一':50,'李四':80}
dict_hero['赵一']=20 dict_hero['赵一']=20
print(dict_hero) dict_hero['张三']=80
\ No newline at end of file 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