Commit 44d2e9dd by BellCodeEditor

save project

parent 747aebd0
Showing with 5 additions and 4 deletions
dict_hero={'赵一':30,'丁热':37,'孙五':52} dict_hero={'赵一':30,'丁热':37,'孙五':52}
v=input('你要设么东西')
dict_hero['孙五']=100 if v in dict_hero:
dict_hero['熊大']=999 print('你的'+v+'需要支付'+str(dict_hero[v]))
print(dict_hero) else:
print('gui')
......
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