This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
micropython
mirror of
https://github.com/micropython/micropython.git
Watch
1
Star
0
Fork
You've already forked micropython
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
1f92ffb5b7
micropython
/
tests
/
basics
/
list_slice_3arg.py
10 lines
128 B
Python
Raw
Blame
History
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
]
)
Reference in New Issue
View Git Blame
Copy Permalink