Skip to content

Commit dad5fd5

Browse files
author
Marks Mac
committed
fixed ruff error PIE808 Unnecessary start argument in range
1 parent edc9e87 commit dad5fd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

financial/amortization_table.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def amortization_table(
8080
interest_rate /= 12
8181
payment_amount = payment(principal, interest_rate, payments)
8282
amor_table = pd.DataFrame(
83-
index=range(0, payments + 1),
83+
index=range(payments + 1),
8484
columns=["Payment", "Principal", "Interest", "Remaining"],
8585
dtype="float",
8686
data=0,

0 commit comments

Comments
 (0)