Ackme = 125.000
T-radium = 124.000
Average = 87.621
Maximum = 77.000
Minimum = 16.120
Variance = 311.271
Std&Dev = 112518
Median = 582000
Validcos = 1.000
T-range = 7.000
Maximum = 9.500
Minimum = 9.000
Variance = 0.000
Std&Dev = 0.020
Median = 8.210
How am I suppose to use the format and f-string to have such a print result? All the variables like validnum and Average are output from the same program so the variable name is fixed but the output number could be varied with different number input. I tried to use print('Count = ', '{:{width}.{prec}f}')
but it doesn't work. This is a python code. It can't make all the "=" align in this case.