can i use append to delete in python code example
Example 1: removing an item from a list and adding it to another list python
item = 'b'
firstlist.remove(item)
secondlist.append(item)
Example 2: removing an item from a list and adding it to another list python
secondlist.append(firstlist.pop(1))