Roast topics
Find topics
Roast it!
Roast topics
Find topics
Find it!
Login
From:
Blowfish
(Uncensored)
subscribe
How to Pass List by Value as Parameter in Python
https://jdhao.github.io/2022/07/27/pass_list_by_value_python/
links
backlinks
If we pass list as parameter to a function and change the parameter, the original list is also changed. This is because list is a mutable type, when we pass list to a function, we are passing the same list.