DEV Community


Discussion on: 5 common mistakes made by beginner Python programmers

qfarhan profile image
Q Farhan

Default arguments are evaluated only once. -> Mind blown. Does it mean one needs to keep track of if a function is called in the script already?

But just found a relevant SO discussion if someone interested. :-)

Great post, btw.