Commit 5a7a940a by BellCodeEditor

save project

parent f2ce6160
Showing with 18 additions and 3 deletions
sl = ('语文':91,'数学':88,'英语':85) s1 = {'语文':91,'数学':88,'英语':85}
for i in sl: s2 = {'语文':96,'数学':80,'英语':100}
print(i,sl[i]) s3 = {'语文':79,'数学':89,'英语':80}
s={'岳西':s1,'张三':s2,'张四':s2}
while True:
name=input("如果退出请按k,请输入名字:")
if name=="k":
break
if name in s:
rrr=s[name]
print("*"*20)
for i in rrr:
print(i,rrr[i])
print("*"*20)
......
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