Compute Circle and Horizontal Line Intersection in Python

Prompt

Result