def main(): cpte = Account("BNC", 500) print("Compte :", cpte.name) ope = Operation("29-12-2019", "DEP", "EPICERIE", -25) #ope.print_operation() cpte.add_operation(ope) bal = cpte.get_balance() print(bal)