Commit 857047f1 by BellCodeEditor

save project

parent ea90fe56
Showing with 4 additions and 1 deletions
......@@ -2,12 +2,15 @@ students1= {'语文':91,'数学':88,'英语':85}
students2= {'语文':91,'数学':88,'英语':85}
students3= {'语文':91,'数学':88,'英语':85}\
score={"悟空":students1,"诺伊":students2,"小贝":students3}
name=input("名字:")
while True:
print("请输入名字,退出请输入p")
name=input("名字:")
if name in score
a=score[name]
print("*"*30)
for k,v in info.items():
print(k,v)
elif name=="p":
break
else:
print('输入错误')
......
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