Skip to content

Commit 051c258

Browse files
authored
Merge pull request #589 from sir-gon/develop
[Hacker Rank]: Project Euler #1: Multiples of 3 and 5. Type hinting a…
2 parents 770e17c + 148e624 commit 051c258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hackerrank/projecteuler/euler001.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def sum_of_arithmetic_progression(n: int, d: int) -> int:
1414

1515

1616
# Function to find the sum of all multiples of a and b below n
17-
def euler001(a, b, n) -> int:
17+
def euler001(a: int, b: int, n: int) -> int:
1818

1919
# Since, we need the sum of multiples less than N
2020
n = n - 1

0 commit comments

Comments
 (0)