Problem with a Python function

Posted by the-ifl on Stack Overflow See other posts from Stack Overflow or by the-ifl
Published on 2010-06-06T13:25:05Z Indexed on 2010/06/06 14:02 UTC
Read the original article Hit count: 153

Filed under:

Well I have a little problem. I want to get the sum of all numbers below to 1000000, and who has 4 divisors...

I try, but i have a problem because the GetTheSum(n) function always returns the number "6"...

This is my Code :

http://pastebin.com/bhiDb5fe

© Stack Overflow or respective owner

Related posts about python