python del just delete one element from list code example
Example 1: how to pop things out of list python
>>> l = ['a', 'b', 'c', 'd']
>>> l.pop(0)
'a'
>>> l
['b', 'c', 'd']
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