Commit 5d0bf1ac by BellCodeEditor

save project

parent 2ec93c27
Showing with 13 additions and 0 deletions
cost={'苹果':3.1415926,'屁股果':54188,'gvgggg':1452,}
k=input('1234567890')
v=input('0987654321')
if k in cost:
if float(v)<cost[k]:
cost[k]=float(v)
print(k+'降价,现价'+v+'元')
else:
print(k+'涨价,乒乒乓乓')
else:
cost[k]=float(v)
print(k+'fdgdfssfgergb'+v+'kgoitrbh')
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