Commit 52cfb66b by BellCodeEditor

save project

parent 831ebae9
Showing with 12 additions and 3 deletions
# 神奇百货中的物品已经帮你创建好啦,接下来要看你的了~
cost={"苹果":1,"山竹":10,"香蕉":2,"荔枝":10,"葡萄":9}
k=input("aaaa")
v=input("ssss")
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+""+v+"")
......
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