We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b0909d commit c73cb7eCopy full SHA for c73cb7e
maths/sum_of_arithmetic_series.py
@@ -1,5 +1,5 @@
1
# DarkCoder
2
-def sum_of_series(first_term, common_diff, num_of_terms):
+def sum_of_series(first_term: int, common_diff: int, num_of_terms: int) -> float:
3
"""
4
Find the sum of n terms in an arithmetic progression.
5
0 commit comments