Commit 7539ef0b by BellCodeEditor

save project

parent eb7fdc2e
Showing with 13 additions and 0 deletions
cost={'苹果':5,'山竹':7,'香蕉':9,'李子':10,'草莓':3,'粑粑':4}
k=input('睡郭?')
v=input('假给?')
if k in cost
if cost[k]>float(v)
cost[k]=float(v)
print(k+'现在v元')
else:
print(k+'现在v元')
else:
cost[k] = float(v)
print(k+'上传了')
\ 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