A quick scan suggests test cases 5, 6, 7, 8, 9, 10, 11, 12, 16, 17, 18, 19, 20, 21, 24, 25, 26, 29, 30, 31, 32, 33, 34 are invalid. A C++ program may read some of them ok, but your Python code won’t.
Edit: Try this, it should show you the problem with your logic:
1
5
2 5
10 5
6 1
6 9
2.1 1.1
See en.wikipedia.org/wiki/Smallest-circle_problem