Python добавить от 1 до 100
def f(n):
return sum(range(1,n+1))
Mamad
def f(n):
return sum(range(1,n+1))