Commit 6a9ad3c6 by BellCodeEditor

save project

parent f47575b0
Showing with 11 additions and 0 deletions
a={"吊扇":5,"热狗":9,} a={"吊扇":5,"热狗":9,}
s=input("请输入")
d=input("请输入价钱")
if s in a:
if int(d)>a[s]:
print(s+"降价,现"+d+"元")
else
print(s+"不买")
else:
a[s]=float(d)
print(s+d+"上传")
\ 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