列表a=[1,7,5,6,9,16,11],用Python输出列表元素个数,最大值,最小值,并添加一个新元素值为18,删除元素值6
print(len(a)) print(max(a)) print(min(a)) a.append(18) a.remove(6)