I was trying to solve the deficient number lesson, but I don't understand why on SoloLearn my code doesn't work for big numbers
It does work on another app, I'm not sure why here for numbers with more than four factors it just says "no input" (is it possible that my internet connection is too slow?) Here's the assignment, I tried the hard task: A number is considered deficient if the sum of its factors is less than twice that number. For Example: 10 is a deficient number. Factors of 10 are 1, 2, 5, 10 Sum is 1 + 2 + 5 + 10 = 18 < 2 * 10 Tasks: (Easy) Write a program to verify whether a given number is deficient or not. (Medium) Write a program to find all the deficient numbers in a range. (Hard) Given a number, write a program to display its factors, their sum and then verify whether it's deficient or not https://code.sololearn.com/cy7aBI7ho0F5/?ref=app