Commit 6c34f744 by BellCodeEditor

save project

parent c2f1308f
Showing with 15 additions and 2 deletions
# 利用write()帮助悟空给诺依回信吧~ dict_10={"加热":88,"金额":37,"解耦":53,"积分":19}
\ No newline at end of file computer=input("你叫什么名字")
score=input("你的分数是多少")
if computer in dict_10:
if int(score)>dict_10[computer]:
dict_10[computer]=score
print(computer+"同学"+"你的分数已更新")
else:
print("没有变化")
else:
dict_10[computer]=int(score)
print("haole")
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