Skip to content

Commit 33303aa

Browse files
authored
Fix E501: Fix line length issue in fizz_buzz.py
Updated docstring formatting for clarity.
1 parent 8a8757c commit 33303aa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

logic_building_problems/fizz_buzz.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
"""FizzBuzz Problem.
22
33
This module contains a solution to the classic FizzBuzz problem.
4-
For numbers 1 to n, print 'Fizz' for multiples of 3, 'Buzz' for multiples of 5,
5-
and 'FizzBuzz' for multiples of both.
4+
For numbers 1 to n, print 'Fizz' for multiples of 3, 'Buzz' for
5+
multiples of 5, and 'FizzBuzz' for multiples of both.
66
"""
77

88

@@ -52,6 +52,7 @@ def fizz_buzz(n: int) -> list[str]:
5252
result.append("Buzz")
5353
else:
5454
result.append(str(i))
55+
5556
return result
5657

5758

0 commit comments

Comments
 (0)