If I create the following classes. Is this bad code the way I’m accessing X from the c object? This feels like there is a lot of ‘coupling’ between the classes. How can I do this better?
Class A():
x = 0
Class B():
y = 1
a = A()
Class C():
Z = 2
b = B()
c = C()
Print(c.b.a.x)