Commit 16f1a8b0 by BellCodeEditor

auto save

parent 4db2628d
Showing with 1 additions and 0 deletions
sg={'苹果':10,'荔枝':12,'葡萄':6} sg={'苹果':10,'荔枝':12,'葡萄':6}
a=input("品名:") a=input("品名:")
b=input("输入价格:") b=input("输入价格:")
if b
if a in sg: if a in sg:
if float(b)>=sg[a]: if float(b)>=sg[a]:
print("涨价了,我们不买!") print("涨价了,我们不买!")
......
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