Oct-28-2021, 07:32 AM
in check9(n, ma), macopy is not a copy of ma, it is ma. If you want a copy of ma you should use:
macopy = ma.copy()This line near the top of the file does nothing:
global dc,count,gv,gvn,fncount,mastglobal tells python to use the global scope when assigning values to variables. This line, not being inside a function, is in the global scope already. Using "global" only makes sense inside of a function.