Commit 4906885e by BellCodeEditor

save project

parent b89c985c
Showing with 5 additions and 1 deletions
......@@ -6,7 +6,8 @@ score = {'悟空': student1, '诺依': student2, '小贝': student3}
while True:
print("*" * 35)
b=input("请问您要查询成绩还是更新程序?(查询--c,更新--d)")
if b=="c"
if b=="c"
print("*" * 35)
a=input("请问您要查询谁的成绩?(退出请输入'e')")
if a in score:
print("*" * 35)
......@@ -19,6 +20,8 @@ while True:
print("*" * 35)
print("输入错误,请重新输入")
elif b=="d":
print("*" * 35)
c=input("请问更新的人名字叫什么?")
# wait
else:
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