Commit ada42cb7 by BellCodeEditor

save project

parent aa21e6d0
Showing with 6 additions and 7 deletions
dict={}
dict['苹果']=90
dict['梨']=70
print(dict)
if '梨' in dict:
print(dict['梨'])
dict={'马雨泽':0.1,'同浩泽':0.2,'魏子轩':0.01,'依依老师':1000}
a=input("你要什么?")
if a in dict:
print("你买的"+a+"是"+str(dict[a])+"元")
else:
print("不在")
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