2 ms·
You can do that with string interpolation too. In python it would be: print(f"{foo:8.2f}") compared with C-style printf: printf("%8.2f", foo)
by gizmo686 2y ago
You can do that with string interpolation too. In python it would be:
print(f"{foo:8.2f}")
compared with C-style printf:
printf("%8.2f", foo)