Skip to content

In pure Python Code: Call the function 'getprimefactors(x)' and change the value of x.

License

Notifications You must be signed in to change notification settings

hr21don/Prime-Factors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Prime-Factors

How to Start this project:

  • Call the function 'getprimefactors(x)'
  • Change the value of x which will return a list containing all of its prime factors.

Challenge

Write a python function to find all the prime factors.

Input

An integer value.

Output

A list of prime numbers.

For e.g.

getprimefactors(1000) [2,2,2,5,5,5]

About

In pure Python Code: Call the function 'getprimefactors(x)' and change the value of x.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages