Question: PYTHON question: Write a program that outputs as a list the prime factors of an integer number. If the number is divisible more than once
PYTHON question:
Write a program that outputs as a list the prime factors of an integer number. If the number is divisible more than once with a prime factor, that factor should repeat in the list. For example if the number is 84 the list of factors printed out should be [2, 2, 3, 7]. Use your program to factorize the number: 44,871,347,972.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
