"{0} = {1}" python code example
Example 1: string slicing in python 3 arguments
#[start:end:step]
>>> range(10)[::2]
[0, 2, 4, 6, 8]
Example 2: in python [:-1]
>>> L = range(10)
>>> L[::2]
[0, 2, 4, 6, 8]
#[start:end:step]
>>> range(10)[::2]
[0, 2, 4, 6, 8]
>>> L = range(10)
>>> L[::2]
[0, 2, 4, 6, 8]