Commit d9954f41 by BellCodeEditor

save project

parent 83b73772
Showing with 11 additions and 0 deletions
fruit={"xigua":3,"pinguo":5}
k=input("输入水果名")
v=input(“输入”+k+"的价格")
if k in fruit:
if int(v) < fruit[k]:
fruit[k]=int(v)
else:
print(yt)
else:
print(ty)
\ 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