Skip to content

Commit

Permalink
Pylint error
Browse files Browse the repository at this point in the history
  • Loading branch information
Allber Fellype committed Dec 12, 2024
1 parent fd5ba85 commit 7c01a6c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion desafio-11/JamesStewart-314/python/solution.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def get_set_primes(num_digits: int, upper_limit: int) -> set[str]:

for current_num in num_counter:
if current_num >= upper_limit:
return primes_set
break
if current_num not in sieve_dict:
sieve_dict[current_num * current_num] = current_num
current_num: str = str(current_num)
Expand All @@ -24,6 +24,8 @@ def get_set_primes(num_digits: int, upper_limit: int) -> set[str]:
sieve_dict[current_num_key] = sieve_dict[current_num]
del sieve_dict[current_num]

return primes_set


def print_biggest_seq(file_path: str, upper_limit: int = 10 ** 4) -> str:
try:
Expand Down

0 comments on commit 7c01a6c

Please sign in to comment.