Successful Operation!
Your data is up-to-date and ready for use!
Failed Attempt!
Something went wrong.
The field is required!
/vote/forum/post/11858/up/1/
/vote/forum/post/11858/down/1/
/vote/forum/post/11858/clear/1/
Coding Tip: Replacing a list without loosing link
my_list = [1,2,3] def replace_list(ll): ll[:] = [4,5,6] replace_list(my_list) print(my_list)
python
tips
Created: Dec. 18, 2017, 12:56 p.m.
Updated: Jan. 6, 2018, 8:56 p.m.
0
40
oduvan
comments:
Load more