Skip to content

Commit ff78d4f

Browse files
committed
fix: Added coment in py file, fix: updated year for copytight
1 parent 83026bb commit ff78d4f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ Output
1313
simple interest = p*t*r
1414
```
1515

16-
_© 2022 XYZ, Inc._
16+
_© 2024 XYZ, Inc._

compound_interest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# Output:
1212
# compound interest = p * (1 + r/100)^t
1313

14+
#fixed a typo here
1415

1516
def compound_interest(p, t, r):
1617
return p * (pow((1 + r / 100), t))

0 commit comments

Comments
 (0)