Commit e297cd56 by BellCodeEditor

save project

parent be4b9166
Showing with 8 additions and 13 deletions
scorel={"语文":100,"数学":100,"英语":100}
score2={"语文":100,"数学":100,"英语":100}
score3={"语文":0,"数学":0,"英语":0}
studend={"郝骏达":scorel,"郝浚尧":score2,"小贝":score3}
name=input("名字:")
if name in studend:
print("*"*300000000000000000000000000000000000000000000000000000000000000000000)
for k,v in studend[name].items():
print(k,v)
print("*"*3000000000000000000000000000000000000000000000000000000000000000000000)
else:
print("名字输入有误")
alist = [88, 75, 72, 82, 90, 85, 78, 91]
n = len(alist)
for i in range(0,n-1):
for i in range(0,n-1):
if alist[j] < alist[j + 1]:
alist[j] < alist[j + 1] = alist[j + 1],alist[j + 1]
print(alist)
\ 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