My Python function remembered data from the last call. The bug was a mutable default argument

· Dev.to