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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!