I want to do something like String.Format(\"[{0}, {1}, {2}]\", 1, 2, 3) which returns:
String.Format(\"[{0}, {1}, {2}]\", 1, 2, 3)
[1, 2, 3]
How do I do this in Python?>
Very short answer.
example: print("{:05.2f}".format(2.5163)) returns 02.51