3 ms·
1) aren't there specific immutable pass-by-value forms in python? If you pass a default integer, for example, and change the value of that variable in the func
by dnautics 7y ago
1) aren't there specific immutable pass-by-value forms in python? If you pass a default integer, for example, and change the value of that variable in the function body, the next call will respect the default parameter and not the mutated parameter.
2) good point.