LearnPy Hub
← Operators problems
Medium

Inside the Circle?

Read a radius r and a point x y. Print True if the point is inside or on the circle centred at (0, 0), using x**2 + y**2 <= r**2.

Input

r, then x and y on one line.

Output

True or False.

Sample 1

Input
5
3 4
Output
True

Sample 2

Input
5
4 4
Output
False
solution.py
Output appears here
Inside the Circle? · Python practice problem · LearnPy Hub