format python hanya 1 tempat desimal

>>> "{0:0.1f}".format(45.34531)
'45.3'
Tender Tiger