remove doesn work in python for all elements of list 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