Commit f4f063ae by BellCodeEditor

save project

parent 0a739503
Showing with 7 additions and 8 deletions
dict = {'l':68,'g':72,'d':88} dict = {'l':68,'g':72,'d':88}
k=input("姓名") v=dict.pop('l')
p=input("成绩") print(dict)
if k in dict: del dict
if int(p)>dict[k]: print(dict)
print("刷新成功") dict.clear()
else: print(dict)
print("刷新失败") \ No newline at end of file
\ 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