list of floats python code example Example 1: convert every element in list to string python [str(i) for i in mylst] Example 2: python string list to float [float(i) for i in lst]