Run
# Given a list of strings my_list = ['1.23', '2.05', '3.14', '4.7'] # Convert list of strings into list of floats list_float = [float(x) for x in my_list] print(list_float)
Output