how to get rid of first element in list python code example
Example 1: python remove first element from list
>>> l = [1, 2, 3, 4, 5]
>>> l
[1, 2, 3, 4, 5]
>>> l.pop(0)
1
>>> l
[2, 3, 4, 5]
Example 2: remove first member from list
# 0 is the member you want to remove
list.pop(0)