Commit fa530909 by BellCodeEditor

save project

parent 3636567f
Showing with 16 additions and 1 deletions
score = {'语文':91,'数学':88,'英语':85}
score = {'语文':0,'数学':8,'英语':5}
for k,v in score.items():
print(k,v)
......
student1 = {'语':100, '数':0, '英':80}
student2 = {'语':100, '数':100,'英':100}
student3 = {'语':99, '数':90,'英'60}
score = ('吾空'student1, '诺依'student2, '小贝'student3)
while True :
name = input("名子:")
if name in score :
a = score :
print('*'*30)
for( k,v) in a.item():
print(k.v)
break
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