python program to accept a number and print the prime factors
Answers
Answered by
3
Python Program to Compute Prime Factors of an Integer
1 Take the value of the integer and store in a variable.
2 Using a while loop, first obtain the factors of the number.
3 Using another while loop within the previous one, compute if the factors are prime or not.
4Exit
Similar questions