Commit 18a396e7 by BellCodeEditor

save project

parent 13c13ebb
Showing with 8 additions and 0 deletions
pop={'生菜':3.01,'西瓜':5.5,'土豆':3.5}
r=input('输入蔬菜')
m=input('蔬菜价格')
if r in pop:
if m<pop[r]:
pop[r]=int(m)
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