I have a function taking float arguments (generally integers or decimals with one significant digit), and I need to output the values in a string with two decimal places (5
Shortest Python 3 syntax:
n = 5 print(f'{n:.2f}')