micropython/tests/bytecode/mp-tests/slice1.py

17 lines
160 B
Python

x = x[:]
x = x[::]
x = x[::c]
x = x[:b]
x = x[:b:]
x = x[:b:c]
x = x[a]
x = x[a:]
x = x[a::]
x = x[a::c]
x = x[a:b]
x = x[a:b:]
x = x[a:b:c]
x[0] = 1
x[x] = x