[Tutor] Not returning out the series

Rafael Skovron rskovron at gmail.com
Mon Jul 3 22:40:11 EDT 2017

Hi as a challenge I have got to sum a series i / (i+1). My code isn't
summing right. Any ideas why?

def main():
    for i in range(1,20):

def m(i):
    total = 0
    for i in range(1,i+1,1):
    return total

More information about the Tutor mailing list