diff --git a/SciPy Spatial/Problem 3/D.py b/SciPy Spatial/Problem 3/D.py new file mode 100644 index 0000000000000000000000000000000000000000..08cec286388879b7e2c95db53d415ed74b49b41b --- /dev/null +++ b/SciPy Spatial/Problem 3/D.py @@ -0,0 +1,5 @@ +from scipy.spatial import KDTree +points = [(-2, -1), (3, 8), (-2, 5), (-2, -3)] +kdtree = KDTree(points) +res = kdtree.query_ball_tree((2, 3)) +print(res) \ No newline at end of file