Python/maths/special_numbers
Devashri Deulkar ddd4023fe6
Happy number (new algorithm) (#10864)
* Happy number (new algorithm)

adding new algorithm

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update maths/special_numbers/happy_number.py

Co-authored-by: Christian Clauss <cclauss@me.com>

* Update happy_number.py

added new changes

* Update happy_number.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update happy_number.py

* Update happy_number.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update happy_number.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update happy_number.py

added ValueError part in code

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update happy_number.py

modified and added raise Error code

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update happy_number.py

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
2023-10-30 19:15:49 +01:00
..
armstrong_numbers.py Move files for special numbers to own directory (#10714) 2023-10-20 08:17:31 +02:00
automorphic_number.py Move files for special numbers to own directory (#10714) 2023-10-20 08:17:31 +02:00
bell_numbers.py Move files for special numbers to own directory (#10714) 2023-10-20 08:17:31 +02:00
carmichael_number.py Move files for special numbers to own directory (#10714) 2023-10-20 08:17:31 +02:00
catalan_number.py Move files for special numbers to own directory (#10714) 2023-10-20 08:17:31 +02:00
hamming_numbers.py Move files for special numbers to own directory (#10714) 2023-10-20 08:17:31 +02:00
happy_number.py Happy number (new algorithm) (#10864) 2023-10-30 19:15:49 +01:00
harshad_numbers.py Move files for special numbers to own directory (#10714) 2023-10-20 08:17:31 +02:00
hexagonal_number.py Move files for special numbers to own directory (#10714) 2023-10-20 08:17:31 +02:00
krishnamurthy_number.py Move files for special numbers to own directory (#10714) 2023-10-20 08:17:31 +02:00
perfect_number.py added a function to calculate perceived frequency by observer using Doppler Effect (#10776) 2023-10-22 00:33:50 +02:00
polygonal_numbers.py Move files for special numbers to own directory (#10714) 2023-10-20 08:17:31 +02:00
pronic_number.py Move files for special numbers to own directory (#10714) 2023-10-20 08:17:31 +02:00
proth_number.py Move files for special numbers to own directory (#10714) 2023-10-20 08:17:31 +02:00
triangular_numbers.py [New Algorithm] - Triangular Numbers (#10663) 2023-10-23 09:51:09 -04:00
ugly_numbers.py Move files for special numbers to own directory (#10714) 2023-10-20 08:17:31 +02:00
weird_number.py Move files for special numbers to own directory (#10714) 2023-10-20 08:17:31 +02:00