def somme(n): somme = 0 for i in range(n+1): somme = somme + i return somme print(somme(10))