Commit 83bd52d5 by BellCodeEditor

save project

parent c8014918
Showing with 17 additions and 0 deletions
while True:
oo={'狗蛋':88,'铁蛋':77,'钢蛋':66,'子蛋':0}
k=input("姓名?")
v=input("成绩?")
if k in oo:
if int(v)>oo[k]:
oo[k]=int(v)
print("更新"+k+"好了!")
else:
print("滚")
else:
oo[k]=int(v)
print(k+"好了!")
print(oo)
\ 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