Commit 0b67b401 by BellCodeEditor

save project

parent d7caad54
Showing with 5 additions and 1 deletions
...@@ -3,5 +3,8 @@ ert={"语文":79,"数学":80,"英语":90} ...@@ -3,5 +3,8 @@ ert={"语文":79,"数学":80,"英语":90}
qwe={"语文":89,"数学":78,"英语":78} qwe={"语文":89,"数学":78,"英语":78}
rshi={"悟空":tyu,"蓝色":ert,"250":qwe} rshi={"悟空":tyu,"蓝色":ert,"250":qwe}
nerrt=input("输入人名") nerrt=input("输入人名")
for t,y in rshi[nerrt].items(): if nerrt in rshi:
for t,y in rshi[nerrt].items():
print(t,y) print(t,y)
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