hHaving looked at three other formatting questions here with tens of answers each I don't see anyone telling how to print a float 9.9
as 09.90
and 10
as 10.00
using the same f-string:
x = 9.9
print(f"{x:02.2f}") // should print 09.90
x = 10
print(f"{x:02.2f}") // should print 10.00
The question is what should be in place of :02.2f
in the above?