David Ekong 9e4f9962a0
Created harshad_numbers.py (#9023)
* Created harshad_numbers.py

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

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

* Update harshad_numbers.py

Fixed a few errors

* Update harshad_numbers.py

Added function type hints

* Update harshad_numbers.py

Fixed depreciated Tuple and List usage

* Update harshad_numbers.py

Fixed incompatible types in assignments

* Update harshad_numbers.py

Fixed incompatible type assignments

* Update maths/harshad_numbers.py

Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>

* Update maths/harshad_numbers.py

Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>

* Raised Value Error for negative inputs

* Update maths/harshad_numbers.py

Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>

* Update maths/harshad_numbers.py

Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>

* Update maths/harshad_numbers.py

Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>

* Update harshad_numbers.py

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

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

* Update harshad_numbers.py

* Update harshad_numbers.py

* Update harshad_numbers.py

* Update harshad_numbers.py

Added doc test to int_to_base, fixed nested loop, other minor changes

* [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>
Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>
2023-09-06 10:00:09 -04:00
..
2023-08-09 13:25:30 +05:30
2023-03-01 17:23:33 +01:00
2022-10-13 11:45:20 +02:00
2023-08-20 16:39:29 -07:00
2023-08-09 13:25:30 +05:30
2022-11-01 10:50:50 +13:00
2022-06-22 12:04:18 +08:00
2023-03-01 17:23:33 +01:00
2023-05-26 09:34:17 +02:00
2022-10-12 20:41:52 +02:00
2023-08-09 13:25:30 +05:30
2022-10-12 20:42:30 +02:00
2023-01-10 23:47:02 +01:00
2023-08-09 13:25:30 +05:30
2023-05-17 12:08:56 +12:00
2022-07-14 12:54:24 +05:30
2023-05-26 09:34:17 +02:00
2023-05-26 09:34:17 +02:00
2023-05-26 09:34:17 +02:00
2022-10-23 13:17:30 +02:00
2020-01-18 13:24:33 +01:00
2022-05-16 19:28:30 +08:00
2022-10-16 09:43:29 +02:00
2021-08-15 21:15:53 +02:00
2023-05-26 09:34:17 +02:00
2021-08-15 21:15:53 +02:00
2023-08-09 13:25:30 +05:30
2022-10-12 22:42:02 +02:00