#Max Low
#9-28-17
#gauss.py -- count the numbers as a series, user control start, stop and intervil

start = int(input('Enter a starting value: '))
end = int(input('Enter a final value: '))
step = int(input('Enter the step: '))

i=1
total = 0
while i <= end:
    total = total + i
    i = i + step
print(total)


58e3bd468662e454dbfc8f3a240c9d72e198a82a
<mask token>

<mask token>
while i <= end:
    total = total + i
    i = i + step
print(total)

start = int(input('Enter a starting value: '))
end = int(input('Enter a final value: '))
step = int(input('Enter the step: '))
i = 1
total = 0
while i <= end:
    total = total + i
    i = i + step
print(total)

#Max Low
#9-28-17
#gauss.py -- count the numbers as a series, user control start, stop and intervil

start = int(input('Enter a starting value: '))
end = int(input('Enter a final value: '))
step = int(input('Enter the step: '))

i=1
total = 0
while i <= end:
    total = total + i
    i = i + step
print(total)

