That's the problem at the top, and that's the code I wrote at the bottom. If you print it out like this, only the prime factor comes out, so can you tell me how to express it as an exponent and a product like the output example?python
if num%count == 0 Replace this part with
while and count the number of times.
© 2022 pinfo. All rights reserved.