Prime factor | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Prime factor

prime_factors(120) [2 ,2 ,3,5,2 ] Write a function that takes a number as an argument and splits it into its prime factors

5th Nov 2018, 8:32 AM
Mauta Zhandilda
Mauta Zhandilda - avatar
3 Antworten
+ 9
Please, use the search feature before posting as to reduce the number of duplicate threads in this section! https://www.sololearn.com/discuss/1316935/?ref=app https://www.sololearn.com/learn/4714/?ref=app
5th Nov 2018, 9:38 AM
Danijel Ivanović
Danijel Ivanović - avatar
+ 7
Please show us your attempt first!
5th Nov 2018, 8:41 AM
Nikhil
Nikhil - avatar
+ 5
If you're asking for help, please show first what you've tried If you're raising a challenge, please post it on the Activity Feed or submit it as an assignment, but I think this problem already exists
5th Nov 2018, 8:57 AM
Flandre Scarlet
Flandre Scarlet - avatar