remove elmet in a list to get new list code example
Example 1: delete element list python
list.remove(element)
Example 2: 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