Commit 65cb1c8d by BellCodeEditor

save project

parent 0993334b
Showing with 14 additions and 0 deletions
class_score = {"王":80,"方":0,"吴":48}
score = int(input("分数"))
name = input("名字")
if name in class_score:
if score > class_score[name]:
class_score[name] = score
print("刷完")
else:
print("未刷完")
else:
class_score[name] = score
print("好了")
\ 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