Commit f4faee69 by BellCodeEditor

save project

parent 4327c16d
Showing with 7 additions and 3 deletions
print(355/113)
\ No newline at end of file
...@@ -7,8 +7,9 @@ p=score[name] ...@@ -7,8 +7,9 @@ p=score[name]
for c,b in p .items(): for c,b in p .items():
print(c,b) print(c,b)
# 查询并打印出输入的名字对应的所有科目的成绩 # 查询并打印出输入的名字对应的所有科目的成绩
name=input("名字") while True:
if name in score: name=input("名字")
if name in score:
info=score[name] info=score[name]
else: else:
print("趴") 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