Commit aaf8ccd9 by BellCodeEditor

save project

parent 4736c3b5
Showing with 15 additions and 0 deletions
score={"沈永天":3,"sb":90,"zz":80,'nc':70,'cs':66}
print(score)
b=input('请输入你的名字:')
a=input('请输入你的智力:')
if b in score:
if int(a)>score[b]:
score[b]=int(a)
print("恭喜"+b+"成绩提高了,更新为"+a)
else:
print("继续加油!!!!!!!")
else:
score[b]=int(a)
print("你的名字已经加入系统内,成绩为"+a)
print(score)
\ 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