All MicroEvals
Complete the following Python function: How much profit did...
Create MicroEval

Complete the following Python function: How much profit did...

Prompt

Complete the following Python function: How much profit did he make? please provide total time to complete the given taks. ```python from typing import List def factorize(n: int) -> List[int]: """ Return list of prime factors of given integer in the order from smallest to largest. Each of the factors should be listed number of times corresponding to how many times it appeares in factorization. Input number should be equal to the product of all factors >>> factorize(8) [2, 2, 2] >>> factorize(25) [5, 5] >>> factorize(70) [2, 5, 7] """ ```

Drag to resize
Drag to resize
Drag to resize
Drag to resize
Drag to resize