score=[55,53,9,86,78,27,97,93,28,37]
print(score)
a=len(score)
print("一共有{}个成绩".format(a))
b=(score[2])
print("第三个数字是 {}".format(b))
c=(score[0:6])
print("第1-6个数字是: {}".format(c))
d=score.insert(2,59)
print("在第3个数字前加上数值59 {}".format(score))
del score[0]
print("删除第1个数字后:{}".format(score))
e=score.pop(-1)
print("删除最后一个数字 {}".format(score))
x=input("输入要查找的数字,统计其出现次数:")
y=score.count(x)
print("{}出现的次数是{}".format(x,y))
z=input("输入要查找的数字,查询列表中是否有该成绩:")
if "z"in score:
print("{}不在列表中".format(z))
else:
print("{}在列表中".format(z))
f=min(score)
g=score.index(f)+1
print("最低分是{},学号是{}".format(f,g))
h=score.sort()
print("从低分到高分排序:{}".format(h))
score.sort()没有返回值,把h=score.sort()的“h=”直接删去,最后打印score即可