So I was asked to do a really simple action, to sum every integer from one number to another. I wanted to keep this simple, so I just add a single one extra action tha was if the first number is bigger than the second one, ask the user to put the second one as a bigger number.

So basicly I used the for e in rage ( 1st number, 2nd number plus 1) to stablish the range and then add to a variable the variable plus e, and it runs by itself:

sums

sorry for the short post, here is a potato

CC BY 4.0 The great sum WSQ07 by charliegdrummer is licensed under a Creative Commons Attribution 4.0 International License.