Commit 6c633cd7 by BellCodeEditor

save project

parent 99849170
Showing with 7 additions and 0 deletions
dict= {"水果价格":1.2}
f=input("今日水果价格?")
if float(f) < dict["水果价格"]:
print("妈妈,今天水果降价")
else:
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