>>> somme=0 >>> for i in range(10): somme+=i**2 >>> print(somme) 285