(self)
return sum(t.amount for t in self.transactions)
Get the sum of all transactions on the account.

        Returns
        -------
        total : float
Get the sum of all transactions on the account.
Get the sum of all transactions on the account .
def total_transactions(self):
        """
        Get the sum of all transactions on the account.

        Returns
        -------
        total : float

        """
        return sum(t.amount for t in self.transactions)
def total_transactions ( self ) : return sum ( t . amount for t in self . transactions )