Commit f962b32c by BellCodeEditor

save project

parent a9424cd9
Showing with 20 additions and 0 deletions
men = {'a':58,'b':78,'c':90}
name=input("姓名")
score = int(input("战绩"))
if name in men:
if score > men[name]:
men[name]=score
print("成绩已刷新")
else:
print("成绩不刷新")
else:
men[name] = score
print(name + "已添加")
\ No newline at end of file
men = {'a':58,'b':78,'c':90}
men = {'a':58,'b':78,'c':90}
name=input("姓名")
score = int(input("战绩"))
if name in men:
\ 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