Files
labs/labPython/lab1/TheOne1.py
2026-04-18 14:42:00 +05:00

14 lines
205 B
Python
Executable File

r1 = 2
r2 = 1
pi = 3,14
while True:
x = float(input())
y = float(input())
if x**2+y**2<=r1**2 and x**2+y**2>=r2**2 and (x >= 0 or y >= 0):
print("yes")
else:
print("no")