Commit 48735258 by BellCodeEditor

save project

parent 74b3e301
Showing with 3 additions and 1 deletions
......@@ -4,6 +4,7 @@ g=input("水果的价格是:")
if n in f:
if int(g)>f[n]:
f[n]=g
print("涨价啦!不买啦!")
else:
f[n]
f[n]=int(g)
print(f)
\ 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