This website requires JavaScript.
Explore
Help
Sign In
TencentOS
/
TencentOS-tiny
mirror of
https://github.com/OpenAtomFoundation/TencentOS-tiny
Watch
0
Star
0
Fork
You've already forked TencentOS-tiny
3
Code
Issues
Projects
Releases
Wiki
Activity
5d55ee8aec
TencentOS-tiny
/
components
/
language
/
micropython
/
tests
/
basics
/
list_insert.py
10 lines
119 B
Python
Raw
Blame
History
a
=
[
1
,
2
,
3
]
a
.
insert
(
1
,
42
)
print
(
a
)
a
.
insert
(
-
1
,
-
1
)
print
(
a
)
a
.
insert
(
99
,
99
)
print
(
a
)
a
.
insert
(
-
99
,
-
99
)
print
(
a
)
Reference in New Issue
View Git Blame
Copy Permalink