Commit dd97a1f9 by BellCodeEditor

save project

parent 6d95ec76
Showing with 15 additions and 5 deletions
score = {'鱼文':91,'输学':88,'鸟语':85}
student1 = {'鱼文':91,'输学':88,'鸟语':85}
score = {'鱼文':91,'输学':88,'鸟语':85}
for k,v in score.items():
student1 = {'鱼文':91,'输学':88,'鸟语':85}
student2 = {'鱼文':91,'输学':88,'鸟语':85}
student3 = {'鱼文':91,'输学':88,'鸟语':85}
score = {'悟空':student1,'诺依':student2,'小贝':student3}
name = input('名字')
while True:
if name in score:
a = score[name]
print('寻找中,请稍后···')
for k,v in a.items():
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