Bonjour,
Exercice 3:
for x in range(-999, 1001):
if x**3 + 70*x**2 + 49518 == 7613*x:
print(x)
On obtient: -131, 7, 54
Exercice 4:
for x in range(101):
for y in range(101):
if x**2 + y**2 == 2500:
print(x, y)
On obtient les couples: (0, 50), (14, 48), (30, 40), (40, 30), (48, 14), (50, 0)
Bonne journée.