changing the str and float values to int in a list in python code example Example: python string list to float [float(i) for i in lst]