Commit 603379fe by BellCodeEditor

save project

parent ad3cfc87
Showing with 6 additions and 4 deletions
student1 = {'语文': 0, '数学': 88, '英语': 85}
student2 = {'语文': 97, '数学': 0, '英语': 90}
student3 = {'语文': 95, '数学': 100, '英语': 0}
score = {'giao': student1, '老八': student2, '马牛逼': student3}
score = {'giao': student1, '老八': student2, '马牛逼':student3}
......@@ -11,9 +11,11 @@ while True :
name = input("名字:")
if name in score :
a = score[name]
print('*'*30)
print('*'*100)
for k,v in a.items():
print(k,v)
print('*'*100)
break
else:
print('输入错误')
\ No newline at end of file
print('输入错误,已锁死,明年再来')
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