Commit 470a8bea by BellCodeEditor

save project

parent 9c557f86
Showing with 4 additions and 3 deletions
f={"屁屁":1,"鹿茸":2,"灵芝":10,"鼻屎":4,"蟠桃":9} f={"屁屁":1,"鹿茸":2,"灵芝":10,"鼻屎":4,"蟠桃":9}
h=input("好妈妈,输入水果名") h=input("好妈妈,输入水果名")
a=input("马马,钱是多少") a=input("马马,钱是多少")
if k in dit: if h in f:
if int(a)<f[h]: if int(a)<f[h]:
dict[k]=int(v) dict[k]=int(v)
print("更新啦") print("更新啦")
else: else:
print("最新价格没") print("最新价格没")
else: else:
f[k]=a f[h]=int(a)
\ No newline at end of file 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