Alignement

This commit is contained in:
Geoffrey Frogeye 2015-03-15 14:59:04 +01:00
parent 2d8d348c32
commit 6bec38e354

View file

@ -42,7 +42,7 @@ yData = []
for i in range(len(xData)): for i in range(len(xData)):
yData.append(nbre_moyen_tri_insertion(m, i)) yData.append(nbre_moyen_tri_insertion(m, i))
if args.brut: if args.brut:
print("{:<3} {:>14}".format(xData[i], yData[i])) print("{:<3} {:>14}".format(xData[i], "{:0.2f}".format(yData[i])))
# Régression polynominale # Régression polynominale
from numpy import polyfit from numpy import polyfit