Commit 862d916f by BellCodeEditor

save project

parent e9839539
Showing with 22 additions and 3 deletions
w1c={'香蕉':12,'梨':13999999,'苹果':1}
s=input("要点啥?:")
j=input("今日价格:")
if s in wlc:
if int(j)>w1c[s]:
print("不买")
else:
print("买")
else:
w1c[s]=j
\ No newline at end of file
dict_hero={"猴三":10,"猴一:21,"猴五":22}
print(dict_hero)
\ No newline at end of file
w1c={香蕉:12,梨:1399999999999999999999999999999999999999999999999999999999999999999,屎:123456789234567834567,苹果:1}
s=input("要点啥?:")
j=input("今日价格:")
if s in wlc:
int() if w1c[s]>j
print("太贵了,不买")
else:
print("买")
else:w1c[l]=j
\ 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