mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 18:38:39 +00:00
Update prime_factorization_fast.py
This commit is contained in:
parent
bb34d5d215
commit
4eb7f1d548
@ -2,7 +2,7 @@ from math import ceil, sqrt
|
|||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
|
|
||||||
def primeproduct(n: int, x: list = []):
|
def primeproduct(n: int, x: list = []) -> list[int]:
|
||||||
"""
|
"""
|
||||||
>>> primeproduct(868)
|
>>> primeproduct(868)
|
||||||
[2, 2, 7, 31]
|
[2, 2, 7, 31]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user