I know to give some tolerance to compare the floats. I could use,
math.isclose(0.0005, 0.0006, abs_tol = 0.0002)
And it will give True for the response.
But let's say, we have two lists
number_list_1 = [1.15679, 0.000435343, 0.009432, 10.0, 0.5678]
number_list_2 = [1.157, 0.00044, 0.0094, 10.0, 0.568]
As you can see, two lists's elements have almost identical values, but with slightly different modifications.
How can I return True value if I compare two lists?