0
Global variables and when to use them?
I wrote two functions which performed the same action (see the code). One didn't took any arguments and made use of Python scoping rule(LEGB) while the other one did take one and returned it. My question is which one would be a better practice and why? https://code.sololearn.com/c6tjBEpSfEax/?ref=app
2 Respostas