add to a list after removing code example
Example 1: how to remove a element from list in python and print it
pop(n) removes the element at the given index number and can print it
Example 2: removing an item from a list and adding it to another list python
item = 'b'
firstlist.remove(item)
secondlist.append(item)