transform all the elements of a list code example Example: python string list to float [float(i) for i in lst]