somme = 0 for i in range(4): somme = somme + i**2 print somme