Commit f4f063ae by BellCodeEditor

save project

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