circuitpython/tests/basics/list_slice_3arg.py
2014-05-26 02:02:47 +03:00

10 lines
128 B
Python

x = list(range(10))
print(x[::-1])
print(x[::2])
print(x[::-2])
x = list(range(9))
print(x[::-1])
print(x[::2])
print(x[::-2])