Apr-22-2019, 07:59 AM
I would suggest the following tutorial on class use:
https://interactivepython.org/runestone/...ctree.html
You are doing many things wrong
Besides defining all in the __init__ method, you should never have to use a single global, nor define variables outside of the class if needed within.
https://interactivepython.org/runestone/...ctree.html
You are doing many things wrong
Besides defining all in the __init__ method, you should never have to use a single global, nor define variables outside of the class if needed within.