0

Write a python function find_smallest number() which accepts a number n and returns the smallest number having n divisors

Write a python function find_smallest number() which accepts a number n and returns the smallest number having n divisors Handle the possible errors in the code written inside the function. Sample Input 16 Expected Output 120

21st Jan 2018, 5:31 PM
Mohit
Mohit - avatar
4 Réponses
+ 3
could you explain the example why 120?
21st Jan 2018, 6:41 PM
Oma Falk
Oma Falk - avatar
0
this is what I want you to solve
21st Jan 2018, 5:37 PM
Mohit
Mohit - avatar
0
@Mohit, you should at least try to solve it yourself first, post the code on your question and then we can try to help you. You won't learn much if you just copy and paste an answer from here to help you with your homework. Best of luck
21st Jan 2018, 7:44 PM
Austin Timmerman
Austin Timmerman - avatar