Posts by EWSG • 17 points
3 posts
-
-1
votes1
answer286
viewsQ: Print splitters in Python, with their sum in the output
I need to create a program that shows the sum of all the divisors of a number, except this number itself. Ex: the sum of the divisors of number 66 is 1 + 2 + 3 + 6 + 11 + 22 + 33 = 78 In case, I…
-
0
votes2
answers266
viewsQ: Receive two numbers, add the pairs and multiply the odd
The program should receive two numbers, and then add all pairs between the received range, and multiply all the odd numbers of the received range (including those typed, always). Must be used for or…
-
-3
votes3
answers1399
viewsQ: Python Range - Numbers in descending order
I need to generate a list with even numbers of N until 0. For example, if I inform 8, I have to print 14, 12, 10, 8, 6, 4, 2, 0. My program, below, is returning 9 numbers, going up to the 16. Where…