Commit 4ba92c0b by BellCodeEditor

save project

parent 3c94df2a
Showing with 9 additions and 0 deletions
...@@ -3,6 +3,14 @@ jj = {'语文':91,'数学':94,'英文':59} ...@@ -3,6 +3,14 @@ jj = {'语文':91,'数学':94,'英文':59}
cc = {'语文':88,'数学':0,'英文':74} cc = {'语文':88,'数学':0,'英文':74}
cj = {'解决':zz,'三十':jj,'九零':cc} cj = {'解决':zz,'三十':jj,'九零':cc}
name = input("名字:") name = input("名字:")
print("*"*40)
info = cj[name] info = cj[name]
for k,v in info.items(): for k,v in info.items():
print(k,v) print(k,v)
if name in cj:
cj=cj[name]
for k,v in cj.items():
print(k,v)
print("*"*40)
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