Question: You are given an integer number. Write a code in python which returns a prime factorisation of the given number. For example, for an input

You are given an integer number. Write a code in python which returns a prime factorisation of the given number. For example, for an input of 8, the output should be 2^3. For an input of 300, the output should be 2^2*3*5^2.

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 Programming Questions!