pop left python code example
Example 1: python pop front of list
>>> l = ['a', 'b', 'c', 'd']
>>> l.pop(0)
'a'
>>> l
['b', 'c', 'd']
>>>
Example 2: python string pop
// no pop methode for strings (strings are immutable)
a = "abc"
last_letter = a[-1]
a = a[:-1]
Example 3: exclude first value of an array python
my_array=np.arange(10)
my_array[1:]