>>> l = [1, 2, 3, 4, 5] >>> l [1, 2, 3, 4, 5] >>> l.pop(0) 1 >>> l [2, 3, 4, 5]
list = [1,2,3] list.pop(0) print(list) #[2,3]
# 0 is the member you want to remove list.pop(0)
list = [1,2,3] del list[0] print(list) #[2,3]
my_array=np.arange(10) my_array[1:]
l = [1, 2, 3, 4, 5] del l[:3] # Here 3 specifies the number of items to be deleted.