want to remove that user from the list of active users you can remove an item according to its position in the list or according to its value removing an item using the del statement if you know the position of the item you want to remove from listyou can use the del statement motorcycles ['honda''yamaha''suzuki'print(motorcyclesu del motorcycles[ print(motorcyclesthe code at uses del to remove the first item'honda'from the list of motorcycles['honda''yamaha''suzuki'['yamaha''suzuki'you can remove an item from any position in list using the del statement if you know its index for examplehere' how to remove the second item'yamaha'in the listmotorcycles ['honda''yamaha''suzuki'print(motorcyclesdel motorcycles[ print(motorcyclesthe second motorcycle is deleted from the list['honda''yamaha''suzuki'['honda''suzuki'in both examplesyou can no longer access the value that was removed from the list after the del statement is used removing an item using the pop(method sometimes you'll want to use the value of an item after you remove it from list for exampleyou might want to get the and position of an alien that was just shot downso you can draw an explosion at that position in web applicationyou might want to remove user from list of active members and then add that user to list of inactive members the pop(method removes the last item in listbut it lets you work with that item after removing it the term pop comes from thinking of list as stack of items and popping one item off the top of the stack in this analogythe top of stack corresponds to the end of list introducing lists