Commit d47ef4b4 by BellCodeEditor

save project

parent d97e0eb7
Showing with 10 additions and 0 deletions
fruit={"西瓜":3,'苹果':5}
k=input("输入水果名")
v=input("输入"+k+"的价格")
if k in fruit:
if int(v) < fruit[k]:
print('the price was new')
else:
print('the price not hab change')
else:
frui[k]=v
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