Commit a1cb4828 by BellCodeEditor

save project

parent b8aa60a3
Showing with 15 additions and 3 deletions
score = ('智商':-100,'吃屎':999,'速度':-10000)
student1 = {'语文':-9100000,'数学':-12043422029,'英语':-35000}
student2 = {'语文':-91000,'数学':-1200022029,'英语':-3509900}
student3 = {'语文':-9100012100,'数学':-1204350022029,'英语':-3500440}
score = {'五孔':tudent1'哈比':student2,'大哈比':student3,}
for k,v in score.items():
print(k,v)
while True :
name = input("名字:")
if name in score :
a = score[name]
print('*'*30)
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