Commit 7d171c54 by BellCodeEditor

save project

parent 22d567c8
Showing with 2 additions and 3 deletions
{'小贝'=('语文': 5, '数学': 1, '英语': 3)}
scor={'语文': 5, '数学': 1, '英语': 3}
score={'小贝':scor}
while True :
name = input("名字:")
if name in score :
......@@ -7,6 +8,5 @@ while True :
for k,v in a.items():
print(k,v)
break
print("*"*30)
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