Mar-04-2020, 05:43 AM
Why are you declaring functions inside the loop (lines 20-24)? They only need to be declared once. They should also not be mutating some global state: have them take the value as a parameter and return the new value.
trying to change variable value with a def
|
|