Commit d042c395 by BellCodeEditor

save project

parent 86d11fea
Showing with 5 additions and 3 deletions
s1={"语文":91,"数学":98,"英语":85} s1={"语文":91,"数学":98,"英语":85}
s2={"语文":9,"数学":8,"英语":5} s2={"语文":9,"数学":8,"英语":5}
s3={"语文":1,"数学":9,"英语":8} s3={"语文":1,"数学":9,"英语":8}
ss={"悟空":s1,"小":s2,"依":s3} ss={"悟空":"s1","小":"s2","依":"s3"}
while True: while True:
name=input("") name=input("")
if name in ss: if name in ss:
print("*"*30)
a=ss[name] a=ss[name]
print("*"*30)
for k,v in a.items(): for k,v in a.items():
print(k,v) print(k,v)
print("*"*30) print("*"*30)
if elif name==p:
break
else: else:
print("wff") print("wff")
\ 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