Imprimer jusqu'à 1 décimal Python
print("{:.1f}".format(number)) # Python3
print "%.1f" % number # Python2
Amused Antelope
print("{:.1f}".format(number)) # Python3
print "%.1f" % number # Python2