Created by elodie-gamot
Created on June 10, 2022
175 Bytes
Représentation graphique d’une fonction avec Matplotlib
from math import * from matplotlib.pyplot import * h=0.1 x = [k*h for k in range(50)] y = [x[i]**2-2*x[i]+3 for i in range (len(x))] plot(x,y) grid() show()