Commit bd949734 by BellCodeEditor

save project

parent e46a0e45
Showing with 4 additions and 2 deletions
...@@ -8,6 +8,7 @@ print('小贝') ...@@ -8,6 +8,7 @@ print('小贝')
# 查询并打印出输入的名字对应的所有科目的成绩 # 查询并打印出输入的名字对应的所有科目的成绩
while True : while True :
print("输p走")
name = input("名字:") name = input("名字:")
if name in score : if name in score :
a = score[name] a = score[name]
...@@ -17,4 +18,5 @@ while True : ...@@ -17,4 +18,5 @@ while True :
print('*'*30) print('*'*30)
break break
else: else:
print('输入错误') if name==("p"):
\ No newline at end of file break
\ 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