create global variable in class python code example
Example 1: python class variables make blobal
x = 10
class myClass1():
global x # This takes the variable x outside this class
Example 2: how to declare global variable in python
global n
n = 'whatever'