+ 2

passed by value or by reference

Hi! How does Python3 pass the arguments of a function (by value or by reference)? If the arguments are simple number is it passed by value like Java? Thanks!!

15th Feb 2020, 6:16 AM
CHERIEF Houcine Abdelkader
CHERIEF Houcine Abdelkader - avatar
1 Answer
+ 4
Here you can find some informations about this interesting issue: https://stackoverflow.com/questions/986006/how-do-i-pass-a-variable-by-reference#986145
15th Feb 2020, 7:01 AM
Lothar
Lothar - avatar