Commit 3199b3ec by BellCodeEditor

save project

parent 8ed8985f
Showing with 1118 additions and 3 deletions
......@@ -5,16 +5,1132 @@ score = {'悟空': student1, '诺依': student2, '小贝': student3}
# for k,v in student1.items():
# print(k,v)
while True :
print("请输入名字或q")
name = input("名字:")
if name in score :
a = score[name]
print('*'*30)
for k,v in a.items():
print(k,v)
print('*'*30)
elif name=="q":
break
else:
print('输入错误')
name=input("名字:")
print("*"30)
print("结束")
# info=score[name]
# for k,v in info.items():
# print(k,v)
\ No newline at end of file
# print(k,v)
z
s
n
bye
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