how to pass a list of lists through a for loop in python?,"[[0.5, 0.625], [0.625, 0.375]]"