Fil in the empty function so that it returns the sum of ail the divisors of a number, without including it A divisor is number that divides into another without a remainder.
a
def sum divisors(n): sum -0
4
5
7
8 9
10 11 12
13 14
# Return the sum of all divisors of n, not including n
return sum
print(sum divisors(0))
print (sun divisors(3)) # Should sum of 1
1
print (sum_divisors(36) + Should sum of 1+2+3+4+69+12+18
* 55 = 114
print (sun_divisors(102) should be sum of 2+3+6+17+34+51
Answers
Answered by
1
Answer:
i cant understand your question , sorry.
Explanation:
plz follow me , and like my answer , and mark my answer as a brainlyist.
Answered by
1
Answer:
please mark me a BRAINIEST
Similar questions