pop from the front in list python code example
Example 1: remove first member from list
# 0 is the member you want to remove
list.pop(0)
Example 2: python delete first two indexes
l = [1, 2, 3, 4, 5]
del l[:3] # Here 3 specifies the number of items to be deleted.