Commit c083b270 by BellCodeEditor

save project

parent 2afa96d1
Showing with 7 additions and 12 deletions
A=int(input("请输入学生人数:")) A=int(input("请输入学生人数:"))
A=int(input("请输入学生人数:")) A=int(input("请输入学生人数:"))
B=[] B=[]
for i in range(A): for i in range(A):
B=int(input("学生成绩:")) C=int(input("学生成绩:"))
B.append(C) B.append(C)
print(B) print(B)
top1=0 top1=0
......
score={'语文':89,'数学':87,'英语':90,'政治':98,'历史':67,} score={'语文':89,'数学':87,'英语':90,}
score={'语文':89,'数学':87,'英语':90,'政治':98,'历史':67,} score={'语文':89,'数学':87,'英语':90,}
for d,v in score.items(): for d,v in score.items():
print(d,v) print(d,v)
student1={'语文':,'数学':,'英语':,}
score={'语文':89,'数学':87,'英语':90,'政治':98,'历史':67,} student2={'语文':,'数学':,'英语':,}
for k in score.keys(): student3={'语文':,'数学':,'英语':,}
print(k)
score={'语文':89,'数学':87,'英语':90,'政治':98,'历史':67,}
for k in score.values():
print(k)
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