class Conta:
    def __init__(self, numero, titular, saldo, limite):
        print("Construindo o objeto...{}".format(self))
        self.__numero = numero
        self.__titular = titular
        self.__saldo = saldo
        self.__limite = limite
    def extrato(self):
        print("O saldo da conta do cliente {} é {}".format(self.__titular, self.__saldo))
    def deposita(self, valor):
        self.__saldo += valor
    def saca(self, valor):
        self.__saldo -= valor
    def transfere(self, valor, destino):
        self.saca(valor)
        destino.deposita(valor)
    def get_saldo(self):
        return self.__saldo
    def get_titular(self):
        return self.__titular
    def get_limite(self):
        return self.__limite
    def set_limite(self, limite):
        self.__limite = limiteNo Python Console, foi possível acessar diretamente, mas não pelo get/set: conta.Conta__saldo 55.0 conta.getsaldo Traceback (most recent call last): File "", line 1, in AttributeError: 'Conta' object has no attribute 'get_saldo' conta.get_saldo() Traceback (most recent call last): File "", line 1, in AttributeError: 'Conta' object has no attribute 'get_saldo' conta.get_titular Traceback (most recent call last): File "", line 1, in AttributeError: 'Conta' object has no attribute 'get_titular' conta.get_titular() Traceback (most recent call last): File "", line 1, in AttributeError: 'Conta' object has no attribute 'get_titular'
 
            