Consider for example the list in Python containing both strings of letters and numbers
a = ['Total', '1', '4', '5', '2']
How would it be possible to convert this into the mixed value list
b = ['Total', 1.0, 4.0, 5.0, 2.0]
Note that in general we may not know where the letters string will be in the list i.e. we might have
a = ['Total', '1', '4', 'Next', '2']
b[0]always be a string, even ifa[0].isdigit() == True?a[0].isdigit() == False?