r/programminghorror • • Oct 26 '26

Python I love Python

303 Upvotes

81 comments sorted by

View all comments

1

u/Crafty-Detail-3788 Oct 26 '26

Issue here is that the default parameters are initialized ONCE. If you want an empty list every time you need to define it inside.