[' '' '' '' '' ' sort(print( [' '' '' '' '' 'most list methods are voidthey modify the list and return none if you accidentally write sort()you will be disappointed with the result deleting elements there are several ways to delete elements from list if you know the index of the element you wantyou can use popt [' '' '' ' pop( print( [' '' 'print(xb pop modifies the list and returns the element that was removed if you don' provide an indexit deletes and returns the last element if you don' need the removed valueyou can use the del statementt [' '' '' 'del [ print( [' '' 'if you know the element you want to remove (but not the index)you can use removet [' '' '' ' remove(' 'print( [' '' 'the return value from remove is none to remove more than one elementyou can use del with slice indext [' '' '' '' '' '' 'del [ : print( [' '' 'as usualthe slice selects all the elements up tobut not includingthe second index