The Surprising Case Of Default Mutable arguments

In Python whenever we write a function or method we have an option to have a default value for it’s arguments (if any). A surprising phenomenon occurs when we pass it a Mutable argument. Read more about it on The Surprising Case Of Mutable Default Arguments.

1 Like