class bankaccount:
    def __init__(self):
        self.balance = 0

    def withdraw(self, amount):
        self.balance -= amount
        return balance

    def deposit(self, amount):
        self.balance += amount
        return balance

aobj = bankaccount.self()
bobj = bankaccount.withdraw(50)
cobj = bankaccunt.deposit(50)