From ad98c1de22c8c6948b36d21b9c44d431e6f41cd6 Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sat, 12 Jun 2021 20:06:16 +0800
Subject: [PATCH] save project

---
 成绩.py | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 成绩.py

diff --git "a/\346\210\220\347\273\251.py" "b/\346\210\220\347\273\251.py"
new file mode 100644
index 0000000..a6c9d44
--- /dev/null
+++ "b/\346\210\220\347\273\251.py"
@@ -0,0 +1,13 @@
+cost = {"小明":58,"小刚":90,"小李":57,"小白":53}
+k = input("请输入你的名字")
+v = int(input("请输入你的成绩:"))
+if k in cost:
+    if v > cost[k]:
+        cost[k] = v
+        print("恭喜你"+k+"同学"+"你的成绩已更新为"+str(v))
+    else:
+        print("很遗憾本次成绩没能刷新。")
+else:
+    cost[k]=v
+    print("恭喜你"+k+"同学,你的第一次成绩"+str(v)+"已经上传")
+    
\ No newline at end of file
--
libgit2 0.25.0