mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-19 19:03:02 +08:00
Optimization and fix bug (#2342)
* * optimization aliquot_sum * fix bug in average_median * fixup! Format Python code with psf/black push * Update maths/average_median.py * updating DIRECTORY.md Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@ -6,8 +6,8 @@ If p is the perimeter of a right angle triangle with integral length sides,
|
||||
For which value of p ≤ 1000, is the number of solutions maximised?
|
||||
"""
|
||||
|
||||
from typing import Dict
|
||||
from collections import Counter
|
||||
from typing import Dict
|
||||
|
||||
|
||||
def pythagorean_triple(max_perimeter: int) -> Dict:
|
||||
|
Reference in New Issue
Block a user