revove item from list and return removed python code example
Example: 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
pop(n) removes the element at the given index number and can print it