Update prime_factorization_fast.py

This commit is contained in:
Sourabh kumar verma 2023-08-03 20:04:00 +05:30 committed by GitHub
parent bb34d5d215
commit 4eb7f1d548
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]