Soma do primeiro termo da série Codewars Python
def series_sum(n):
return '{:.2f}'.format(sum(1/(1+i*3) for i in range(n)))
Rakshitha K.S
def series_sum(n):
return '{:.2f}'.format(sum(1/(1+i*3) for i in range(n)))