Commit 9a01d10e by BellCodeEditor

save project

parent 83b73772
Showing with 13 additions and 0 deletions
q={'屎':19999000000000000000000000000000000000,'西北风':10}
w=input('水果')
e=input('价格')
if w in q:
if float(e)<q[w]:
q[w]=float(e)
print(w+e+'元')
else:
print(w)
else:
q[w]=float(e)
print(w+e+'元')
\ 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