This code is written in Object Oriented Programming in Python.How to count reference variables in this program.I tried printing the ID's of these Objects but it didn't helped me.
class Computer:
def __init__(self):
self.no_of_legs=4
self.glass_top=None
self.wooden_top=None
Obj1=Computer()
Obj2=Computer()
Obj3=Obj2
Obj2=Obj1