Commit d6f7af01 by BellCodeEditor

auto save

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