Send the following on WhatsApp
Continue to ChatPython global variable in class | Example code https://tutorial.eyehunts.com/python/python-global-variable-in-class-example-code/
Python global variable in class | Example code https://tutorial.eyehunts.com/python/python-global-variable-in-class-example-code/