[Solved] Class Access to Global Variables in Python

[ad_1]

I just typed that pseudo code up really quickly, that’s why there was the def error. My issue was that I didn’t declare data as a global within the function.

[ad_2]

solved Class Access to Global Variables in Python