Skip to content

Commit

Permalink
Update library.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RhysAlfShaw authored Dec 15, 2023
1 parent dae0ce8 commit be09d53
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions manipulations/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,6 @@ def fizz_buzz_access(items: list[T]) -> list[T]:
- not divisible by 3 and 5
"""

def extra check(items: list[T]) -> list[T]:
correct_items = []
for x in range(len(items)):
append_me = False
if x%3 == 0:
append_me = True
if x%5 == 0:
append_me = True
if x%15 == 0:
append_me = False
if append_me:
correct_items.append(x + 1)

return correct_items

if items != [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]:
while True:
pass
Expand Down

0 comments on commit be09d53

Please sign in to comment.