Skip to content

Commit 46ba861

Browse files
committed
fix: rename fizzbuzz func
1 parent 31a7cb6 commit 46ba861

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

api/core/computation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from api.core.constants import SequenceWords
44

55

6-
def _find_fizzbuzz_up_to(n: int) -> str:
6+
def _find_fizzbuzz_of(n: int) -> str:
77
"""Performs a standard FizzBuzz check on a given number.
88
99
If the number is divisible by 3, returns "Fizz". If the number
@@ -37,4 +37,4 @@ def generate_fizzbuzz_sequence(limit: int) -> List[str]:
3737
Returns:
3838
list: Resulting FizzBuzz outputs
3939
"""
40-
return [_find_fizzbuzz_up_to(i) for i in range(1, limit + 1)]
40+
return [_find_fizzbuzz_of(i) for i in range(1, limit + 1)]

0 commit comments

Comments
 (0)