This website requires JavaScript.
Explore
Help
Sign In
Lephenixnoir
/
PythonExtra
Watch
1
Star
0
Fork
You've already forked PythonExtra
2
Code
Issues
9
Pull Requests
3
Projects
Releases
2
Wiki
Activity
53f2ac9017
PythonExtra
/
tests
/
basics
/
list_copy.py
8 lines
92 B
Python
Raw
Blame
History
# list copy tests
a
=
[
1
,
2
,
[
]
]
b
=
a
.
copy
(
)
a
[
-
1
]
.
append
(
1
)
a
.
append
(
4
)
print
(
a
)
print
(
b
)
Reference in New Issue
View Git Blame
Copy Permalink