@Gribouillis
I get this error when I use your code straight out of the box.
print_factors(f, 3)
NameError: name 'f' is not defined
Also maybe there is a way to suppress the primes and just print the composites up the 3rd output. I don't know how though. :(
I get this error when I use your code straight out of the box.
print_factors(f, 3)
NameError: name 'f' is not defined
Also maybe there is a way to suppress the primes and just print the composites up the 3rd output. I don't know how though. :(