python classes and functions question
if i have this code:
i can't run it like this:
how can i change my function and classes so that i can run it like that? Thanks!
You can either do it like step one or step 2.
Also, make sure your classes are named with proper practices.
Why is this you ask? The reason is that python has static methods (which is the first version), and there are instance methods, which require you to make an instance, which means calling the function.