Commit e0010dbe by BellCodeEditor

save project

parent 4afaffd8
Showing with 5 additions and 5 deletions
...@@ -2,15 +2,15 @@ qby={"数学":100,"语文":100,"英语":100} ...@@ -2,15 +2,15 @@ qby={"数学":100,"语文":100,"英语":100}
lms={"数学":0,"语文":0,"英语":0} lms={"数学":0,"语文":0,"英语":0}
jlf={"数学":0,"语文":0,"英语":0} jlf={"数学":0,"语文":0,"英语":0}
info={"qby":qby,"lms":lms,"jlf":jlf} info={"qby":qby,"lms":lms,"jlf":jlf}
name=input("MINGZI:")
print("*"*50)
while True: while True:
name=input("MINGZI:")
print("*"*50)
if name in info: if name in info:
info=info[name] info=info[name]
for k,v in info.items(): for k,v in info.items():
print(k,v) print(k,v)
print("*"*50)
elif name =="q": elif name =="q":
break break
else: else:
print("名字错了") print("名字错了")
\ No newline at end of file print("*"*50)
\ 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