Commit a8238e4c by BellCodeEditor

save project

parent e14b6358
Showing with 23 additions and 3 deletions
s1={'数':92,'语':71,'外':93}
s2={'数':94,'语':70,'外':92}
s3={'数':97,'语':74,'外':94}
score={'a':s1,'b':s2,'c':s3}
while True:
print('退出q')
name=input('名子')
print('*')
if name in score:
info=score[name]
for k,v in info.items():
print(k,v)
print('*'*30)
elif name=='q':
break
else:
print('无人')
print('*'*30)
print("结束")
\ No newline at end of file
goods={'雷碧':3.1415926,'农付山贼':1,'3':9} score={'数学':100,'语文':100,'英语':100}
goods.pop('3') for k,v in score
print(goods) print(k,v )
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