l = list(...) #replace ... with the list contents
if item in l: #Checks if the item to be moved is present in the list
l.remove(item) # Removes the item from the current list if the previous line's conditions are achieved
l.insert(new_index,item) # Adds item to new list