bonjour,
je voudrais dessiner une courbe comme ci-dessus:
tabx = []
taby = []
i = 0
while i < 10:
x = 7
y = 1
tabx[i] = x
tabx[i] = y
i += 1
plt.scatter(tabx, taby)
plt.show()
mais je recoi un erreur: list assignment index out of range
pouvez-vous m'aider s'il vous plait?
Partager