how ot get python to add a zero to the end of a decimal code example Example: how to add extra zeros after decimal in python >>> format(2.0, '.6f') '2.000000'