Commit fe0ebedf by BellCodeEditor

save project

parent 073bd2c9
Showing with 8 additions and 3 deletions
......@@ -2,9 +2,13 @@ tyu={"语文":95,"数学":94,"英语":100}
ert={"语文":79,"数学":80,"英语":90}
qwe={"语文":89,"数学":78,"英语":78}
rshi={"悟空":tyu,"蓝色":ert,"250":qwe}
nerrt=input("输入人名")
if nerrt in rshi:
while True:
print("想要退出,输入q")
nerrt=input("输入人名")
if nerrt in rshi:
for t,y in rshi[nerrt].items():
print(t,y)
else:
elif nerrt=="q":
break
else:
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