mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-06 18:49:26 +08:00
[pre-commit.ci] pre-commit autoupdate (#11322)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.2.2 → v0.3.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.2...v0.3.2) - [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.9.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.8.0...v1.9.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
![66853113+pre-commit-ci[bot]@users.noreply.github.com](/assets/img/avatar_default.png)
committed by
GitHub

parent
5f95d6f805
commit
bc8df6de31
@ -8,6 +8,7 @@ Armstrong numbers are also called Narcissistic numbers and Pluperfect numbers.
|
||||
|
||||
On-Line Encyclopedia of Integer Sequences entry: https://oeis.org/A005188
|
||||
"""
|
||||
|
||||
PASSING = (1, 153, 370, 371, 1634, 24678051, 115132219018763992565095597973971522401)
|
||||
FAILING: tuple = (-153, -1, 0, 1.2, 200, "A", [], {}, None)
|
||||
|
||||
|
@ -3,6 +3,7 @@ https://en.wikipedia.org/wiki/Weird_number
|
||||
|
||||
Fun fact: The set of weird numbers has positive asymptotic density.
|
||||
"""
|
||||
|
||||
from math import sqrt
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user