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
5f97aaeca4
micropython
/
tests
/
basics
/
del_subscr.py
14 lines
126 B
Python
Raw
Blame
History
l
=
[
1
,
2
,
3
]
print
(
l
)
del
l
[
0
]
print
(
l
)
del
l
[
-
1
]
print
(
l
)
d
=
{
1
:
2
,
3
:
4
,
5
:
6
}
del
d
[
1
]
del
d
[
3
]
print
(
d
)
del
d
[
5
]
print
(
d
)
Reference in New Issue
View Git Blame
Copy Permalink