Commit f1ed34ea by BellCodeEditor

save project

parent c8dc7799
Showing with 4 additions and 11 deletions
# 神奇百货中的物品已经帮你创建好啦,接下来要看你的了~ score={'hh':91,'kk':80,'ee':90}
cost={'dd':5.2,'sz':12.9,'cj':2.4} for i in score:
k=input('输入水果') print(i)
v=input('水果价钱') \ No newline at end of file
if k in cost:
if float(v)<cost[k]
cost[k]=float(v)
print('k+v')
else:
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