Commit f8396dfd by BellCodeEditor

auto save

parent 68d327cd
Showing with 10 additions and 2 deletions
......@@ -12,9 +12,17 @@ s1={"语文":300,"数学":200,"英语":900}
s2={"语文":30,"数学":20,"英语":0}
s3={"语文":0,"数学":200,"英语":100}
score={"ikun":s1,"rap":s2,"basketball":s3}
name = input("名字:")
football = score[name]
if name in score:
football = score[name]
print("*"*30)
for s,b in football.items():
print(s,":",b)
else:
print("你不是人")
for s,b in score.items():
print(s,":",b)
......
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