Bonsoir, je comprends rien, quelqu'un pourrait m'aider svp

Réponse :
Le programme va afficher 10 valeurs :
-10
-8
-6
-4
-2
0
2
4
6
8
exemple pour le premier où a=-5 :
b =(-5+1)**2-(-5)**2-1
=(-4)**2-(-5)**2-1
=16-25-1
=-10
Explications étape par étape
2. (x+1)**2=x**2+1
<=> x**2+2x+1 = x**2+1
<=> 2x+1 = 1
<=>2x=1-1
<=>x=0