I'm trying to make a switch in kivy style, when one is true, the other is false, but when I change a variable in the first class, it is not changed in the second, and remains with the original value. Explicating:
c = 'NADA'
class A():
c = 'CLASS A'
class B():
print(c)
c = 'CLASS B'
print(c)
x = A()
x = B()
print(c)
It has as output:
NADA
CLASS B
NADA