hardy_ramanujanalgo type annotation (#9799)

* Replacing the generator with numpy vector operations from lu_decomposition.

* Revert "Replacing the generator with numpy vector operations from lu_decomposition."

This reverts commit ad217c6616.

* Added type annotation.
This commit is contained in:
Kamil 2023-10-05 17:39:29 +05:00 committed by GitHub
parent f159a33506
commit 9bfc314e87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@
import math import math
def exact_prime_factor_count(n): def exact_prime_factor_count(n: int) -> int:
""" """
>>> exact_prime_factor_count(51242183) >>> exact_prime_factor_count(51242183)
3 3