Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
removed redundant return
  • Loading branch information
ChrisO345 authored Oct 21, 2022
commit 655c0503ca04ea4e9e6b4160de82d1aabc8ba217
1 change: 0 additions & 1 deletion maths/maclaurin_sin.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ def maclaurin_sin(theta: float, accuracy: int = 30) -> float:
((-1) ** r) * ((theta ** (2 * r + 1)) / factorial(2 * r + 1))
for r in range(accuracy)
)
return total


if __name__ == "__main__":
Expand Down