Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
how to pass list in function with modified list
Ace
Programming language:
Whatever
2021-07-04 11:16:59
0
Q:
how to pass list in function with modified list
Mike Ross
Code:
Whatever
2021-08-03 14:33:34
def ABC(li): print(li) l=[1,2,3] ABC(l[:]+[6])
0
Tags
list
function
how
pass
Related
how to send values to a selection sorting function
get first element of ordereddict
GetComponent to list
sort dict by value
sort dict based on other list
sort list with respect to another list
Directory.GetFiles sorted by name
New to Communities?
Join the community