Why do we use %3.2f and %2.1f? Can we use any other value apart from these? I do understand that the value after the decimal represents the number of places to be displayed after the decimal point. But what is the use of 3 and 2??
Python-3.4.3 Input-output 03-04 min 0-10 sec
In %3.2f a number will be formatted in such a way that the number contains 3 digits (in total) and 2 decimal places after the decimal point.