I passed the first and second test case but failed to pass the third test case:
I checked it and I find out that the minimum value of p_val is 0.29 which means the epsilon should start from 0.29 and increase in 0.00071 interval. Why the answer is 0.04 which is smaller than 0.29?
And please correct the mistakes in my code, thank you.