Commit 8ef1161e by BellCodeEditor

save project

parent 1aef39c1
Showing with 13 additions and 8 deletions
...@@ -2,14 +2,19 @@ student1 = {'冷兵器基础与进阶': 91, '小型火药兵器拼装': 88, '军 ...@@ -2,14 +2,19 @@ student1 = {'冷兵器基础与进阶': 91, '小型火药兵器拼装': 88, '军
student2 = {'冷兵器基础与进阶': 97, '小型火药兵器拼装': 98, '军舰基本原理': 90} student2 = {'冷兵器基础与进阶': 97, '小型火药兵器拼装': 98, '军舰基本原理': 90}
student3 = {'冷兵器基础与进阶': 95, '小型火药兵器拼装': 100, '军舰基本原理': 93} student3 = {'冷兵器基础与进阶': 95, '小型火药兵器拼装': 100, '军舰基本原理': 93}
score = {'悟空': student1, '诺依': student2, '小贝': student3} score = {'悟空': student1, '诺依': student2, '小贝': student3}
name=input("名字") while True:
if name in score: print('退出请输入终末之诗最后一句话')
print('*'*123) name=input("名字")
for a,b in score[name].items(): if name in score:
print(name,a,b) print('*'*123)
print('*'*123) for a,b in score[name].items():
else: print(name,a,b)
print("这人没了") print('*'*123)
elif name == "该醒了":
print('已退出(扎心了吗?)')
break
else:
print("这人没了")
......
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