class Robot:
    def __init__(self):
        self.a=10
        self._a=20
        self.__a=30

obj=Robot()
print(obj.a)
print(obj._a)
print(obj.__a) #here through error bcz ypu cant access privte variable outside
#of class so use getter and setter then access this

0dcab914fe23b719c811778faabddd6bf637742e
class Robot:
    <mask token>


<mask token>

class Robot:

    def __init__(self):
        self.a = 10
        self._a = 20
        self.__a = 30


<mask token>

class Robot:

    def __init__(self):
        self.a = 10
        self._a = 20
        self.__a = 30


<mask token>
print(obj.a)
print(obj._a)
print(obj.__a)

class Robot:

    def __init__(self):
        self.a = 10
        self._a = 20
        self.__a = 30


obj = Robot()
print(obj.a)
print(obj._a)
print(obj.__a)

class Robot:
    def __init__(self):
        self.a=10
        self._a=20
        self.__a=30

obj=Robot()
print(obj.a)
print(obj._a)
print(obj.__a) #here through error bcz ypu cant access privte variable outside
#of class so use getter and setter then access this
