
Patrick B. answered 05/22/21
Math and computer tutor/teacher
def list101():
list = []
for i in range(102):
list.append(i)
return(list)
###################################
list2 = list101()
list2.remove(10)
list2.remove(50)
list2.remove(80)
print(" list2 now has length " + str(len(list2)))
print(list2)
list2 = list101()
list2.pop(0)
list2.pop(4)
list2.pop(48)
print(" list2 now has length " + str(len(list2)))
print(list2)