Skip to content

Commit 94365ef

Browse files
Update bank_account.py
1 parent 024601f commit 94365ef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

python-function-names/bank_account.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ def __init__(self, account_number, balance):
44
self.balance = balance
55

66
def __repr__(self):
7-
return f"{type(self).__name__}({self.account_number}, {self.balance})"
7+
return (
8+
f"{type(self).__name__}({self.account_number}, {self.balance})"
9+
)
810

911
def _verify_funds(self, amount):
1012
return self.balance >= amount

0 commit comments

Comments
 (0)