mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-03-13 09:50:19 +08:00
The black formatter is no longer beta (#5960)
* The black formatter is no longer beta
* pre-commit autoupdate
* pre-commit autoupdate
* Remove project_euler/problem_145 which is killing our CI tests
* updating DIRECTORY.md
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@@ -61,7 +61,7 @@ def solution(a_limit: int = 1000, b_limit: int = 1000) -> int:
|
||||
if is_prime(b):
|
||||
count = 0
|
||||
n = 0
|
||||
while is_prime((n ** 2) + (a * n) + b):
|
||||
while is_prime((n**2) + (a * n) + b):
|
||||
count += 1
|
||||
n += 1
|
||||
if count > longest[0]:
|
||||
|
||||
Reference in New Issue
Block a user