list[:0] in python code example
Example 1: how to make a python list
listName = [1,2,3,4]
Example 2: how to make a list in python
list = [1, 2, 4, 5, 6]
Example 3: in python [:-1]
>>> L = range(10)
>>> L[::2]
[0, 2, 4, 6, 8]
listName = [1,2,3,4]
list = [1, 2, 4, 5, 6]
>>> L = range(10)
>>> L[::2]
[0, 2, 4, 6, 8]