DEV Community

loading...

Discussion on: 5 common mistakes made by beginner Python programmers

Collapse
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.