Commit 31ac71bc by BellCodeEditor

save project

parent 2ead5f5a
Showing with 13 additions and 10 deletions
...@@ -2,13 +2,16 @@ student1 = {'语文': 910, '数学':808, '英语': 508} ...@@ -2,13 +2,16 @@ student1 = {'语文': 910, '数学':808, '英语': 508}
student2 = {'语文': 985, '数学': 980, '英语': 908} student2 = {'语文': 985, '数学': 980, '英语': 908}
student3 = {'语文': 905, '数学': 575, '英语': 943} student3 = {'语文': 905, '数学': 575, '英语': 943}
score = {'悟空': student1, '诺依': student2, '小贝': student3} score = {'悟空': student1, '诺依': student2, '小贝': student3}
while True:
name = input("名字,") print("出")
print("*"*25) name = input("名字,")
if name in score:
score = score[name]
for k, v in imfo.items():
print(k,v)
print("*"*25) print("*"*25)
else: if name in score:
print("nn") score = score[name]
\ No newline at end of file for k, v in imfo.items():
print(k,v)
print("*"*25)
else:
print("你干吗?")
print("*"*25)
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