factor

Sign in to test your solution.
def factor(v: list, f: int, p: int) -> list: #TODO return []