What difference does it make to use "self" to define a member in a
A.x is a class variable. B ''s self.x is an instance variable. i.e. A ''s x is shared between instances. It would be easier to demonstrate the difference with something that can be modified like a list:









