Commit Ex1 3 and 5 factor sum [Python]