📅  最后修改于: 2022-03-11 14:45:51.375000             🧑  作者: Mango
list = [0,1,2,3,4]
print("printing original list: ");
for i in list:
print(i,end=" ")
list.remove(2)
print("\nprinting the list after the removal of first element...")
for i in list:
print(i,end=" ")